Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. Is you build process automated? Do you perform unit testing? Do you plan on supporting remote clients behind firewalls? All things made easier with .NET. NAnt NUnit Web services
  2. The CLR does not run on Windows 95. You're out of luck there.
  3. The next version of Windows ("Longhorn") is going to be built with a managed (.NET) API. Not switching would be a poor business decision altogether at this point.
  4. Sun has made a lot of poor decisions over the last few years. The fact that they still talk out of both sides of their mouth regarding Solaris and Linux is just one example.
  5. The administrative capabilities of the ASP.NET Forums package are weak at best. Most of the functionality is incomplete at best as the developers haven't gotten to it yet. Depending on which version you have you may very well need to administer your forums manually using a SQL client.
  6. There was never a "Visual Basic .NET Professional Edition". The following versions of Visual Studio .NET exist: Microsoft Visual Basic .NET Standard Microsoft Visual C# .NET Standard Microsoft Visual C++ .NET Standard Microsoft Visual J# .NET Standard Microsoft Visual Studio .NET Professional Microsoft Visual Studio .NET Enterprise Developer Microsoft Visual Studio .NET Enterprise Architect
  7. http://www.xtremedotnettalk.com/showthread.php?s=&threadid=49406
  8. It's normal to control processes across a network, but I'm curious as to why you need such granular control at the thread level.
  9. Just as an example to check the usefulness of the Equals method: Imports System.Threading Public Class Form1 Inherits System.Windows.Forms.Form Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim t1 As Thread Dim t2 As Thread t1 = New Thread(AddressOf Thread1Proc) t2 = New Thread(AddressOf Thread2Proc) t1.IsBackground = True t2.IsBackground = True t1.Start() t2.Start() 'Ensure that the Equals method was not overridden by the thread class to check for value equality 'Also, check the .NET SDK for information on whether Equals() was overridden Dim t3 As Thread t3 = t1 Dim slot As LocalDataStoreSlot = t3.AllocateDataSlot() t3.SetData(slot, 1) 'Check for equality between thread three and thread one If t3.Equals(t1) Then MessageBox.Show("Thread three equals thread one.", String.Empty) Else MessageBox.Show("Thread three does NOT equal thread one.", String.Empty) End If 'Check for equality between thread two and thread one If t2.Equals(t1) Then MessageBox.Show("Thread two equals thread one.", String.Empty) Else MessageBox.Show("Thread two does NOT equal thread one.", String.Empty) End If End Sub Private Sub Thread1Proc() Do 'Nothing Loop End Sub Private Sub Thread2Proc() Do 'Nothing Loop End Sub End Class I encourage you to run this to see how things work.
  10. Merrion is using VB.NET, MadHatter. There is no need to escape anything, short of double quotes.
  11. http://www.xtremedotnettalk.com/showthread.php?s=&threadid=72925
  12. Strictly speaking it wouldn't be too difficult to generate a chart yourself, without any help from charting software such as Dundas Chart or ComponentOne's WebChart. Finding an average for a 5 minute interval is straightforward basic algebra. avg(xseries) = (x1 + x2 + ... + xn) / n Simply iterate through your data series with a For/Next loop with an interval of 5, graphing each point as you go along.
  13. Technically one should declare such controls with the "Protected" method access modifier since the code-behind is not where the object instance is created. Protected MainToolbar1 As MainToolbar You shouldn't instantiate the object either, since the compilation of the page class will inherit from the code-behind thereby creating the object instance when said class is loaded. Granted I maybe being too picky here, but if you're a stickler for readability and speed it's worth noting.
  14. You can interact with .NET assemblies from any language that supports COM. Investigate "COM-callable wrappers".
  15. Windows sockets are the most employed method of interacting with a Windows service.
  16. Hosting a Windows Forms control in Internet Explorer is different than hosting an ActiveX component in Internet Explorer. They are two separate technologies that should not be confused with one another. The former requires the .NET Framework to be installed on the client, the latter does not.
  17. These are all niche PDLs, but still relevant nonetheless: CaPSYL (Canon) LIPS (Canon) 3812 (IBM) PreScribe (Kyocera) ART (Xerox) XES (Xerox) JDL (Xerox) Interpress (Xerox)
  18. The same method would apply under Visual Basic .NET. [msdn]System.CodeDom.Compiler[/msdn]
  19. Under most circumstances the correct solution is to schedule a task (Control Panel | Scheduled Tasks | Add Scheduled Task).
  20. Finalize() is only called when Dispose() isn't, however Finalize() should make a call to Dispose(), passing an argument of false to indicate that only unmanaged resources should be released. One could very well release said resources in Finalize(), however the logic should already be implemented in Dispose(), and further redundancies would serve only to reduce the maintainability of the application. Finalize() should NOT be called directly and it should be marked with the protected member access modifier. Finalize() is invoked by the CLR once the class becomes inaccessible, unless a call to GC.SuppressFinalize() has been made from within the Dispose() method.
  21. The IDE does that by default. Make sure you have the reformatting option turned on under Options | Text Editor | Basic | VB Specific.
  22. Run "aspnet_regiis -c" on the Web server to install the client scripts. They must be missing.
  23. Add a Panel to the form Add a PictureBox to the Panel (drag-and-drop onto the Panel) Load an image into the PictureBox Set the location of the PictureBox to the coordinates (0, 0) Set the AutoScroll property of the panel to true
  24. No, it is not unless you write or obtain a managed decoder.
×
×
  • Create New...