Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. Windows Application Console Application ASP.NET Web Application ASP.NET Web Service In other words... nothing.
  2. If you have Visual Studio .NET Professional Edition or higher all you need to do is create a new UserControl project. If you're poor like the rest of us here's the basic code to create a UserControl in Notepad: Namespace myLibrary Public Class myControl Inherits System.Windows.Forms.UserControl End Class 'myControl End Namespace 'myLibrary
  3. Button1.Location = New Point(45, 0)
  4. http://www.visualbasicforum.com/showthread.php?s=&threadid=37362
  5. It's about time you dump Visual Basic .NET's compatibility namespace. Learn how to rid yourself of the dependency and speed up your file I/O in the process. http://www.elitevb.com/content/01,0072,01/01.aspx
  6. Post the code you have so far.
  7. re: Thinker Take a look in the .NET SDK under System.Data.DataColumn. You'll find the complete list of supported expressions.
  8. INI files haven't been supported by Microsoft since the introduction of Windows 95. Either use the registry or the .NET standard, XML files. Microsoft.Win32.Registry and System.Xml should serve you well.
  9. NetworkStream is a bit easier to work with, as you don't have to worry about buffer sizes as much as you need to with Socket.Receive. This is the major benefit of all streams, which you'll discover once you get accustomed to the framework a bit more.
  10. If you're worried about speed the ReadToEnd method isn't a wise choice. Use ReadBlock instead.
  11. This is as generous as I get. Be thankful.
  12. You add a new form to your project and set it up as a configuration dialog. User's set various options using it, and your application uses these settings to connect to the database of their choice.
  13. Yes, .NET Server and Longhorn will include the framework. Anyone that runs Windows update will also have the opportunity to install it as an option.
  14. The same way that every other application does it. With a configuration dialog.
  15. http://samples.gotdotnet.com/quickstart/
  16. Object.ToString()
  17. Post the code in question. .NET's SqlClient namespace puts ADO to shame, so I'm curious to see what's going on.
  18. The easiest solution would be to allow the user to specify their own connection parameters.
  19. Yes, System.Environment.CommandLine will contain the file that you need to open if one was passed as a parameter.
  20. You'll need to associate the file type of your choosing with your application. You do this by adding an entry to HKEY_CLASSES_ROOT. Launch RegEdit and you'll see how it works. The namespace you're looking for is Microsoft.Win32 and the classes are Registry and RegistryKey.
  21. You don't need to restart the thread. The code should be able to accommodate for this by itself. However, if you insist on doing it that way, call .Abort() and reinstantiate the thread object.
  22. I take it you've found the BeginConnect and BeginReceive methods. http://msdn.microsoft.com/library/en-us/cpguide/html/cpconusingnon-blockingclientsocket.asp
  23. Timers work regardless of the number of threads in your application. 'Create the delegate that invokes methods for the timer. Dim timerDelegate As New TimerCallback(AddressOf CheckStatus) 'Create a timer that waits one second, then invokes every second. Dim timer As New Timer(timerDelegate, s, 1000, 1000) To terminate a thread you call: myThread.Abort()
  24. That's what you get when you let the computer do the work for you. Your best bet is to manually convert the code, or alter the wizard generated output to perform better. Without seeing any code however, we're not going to be of any help.
  25. The computer which is to run the .NET application NEEDS to have the .NET Framework installed. It doesn't get much clearer than this.
×
×
  • Create New...