Anyone considering developing a Windows Forms application with anything but the most sparse interface should read this excellent FAQ.
http://www.syncfusion.com/FAQ/WinForms/default.asp
http://msdn.microsoft.com/vbasic/downloads/samples/default.asp
Go there. Get the sample entitled "Create an Explorer Style Application". That includes an example of showing a Directory Selection Dialog.
Ideally in .NET you'd use Regular Expressions to do this sort of thing. They seem to have focussed the attention more towards these in the framework and examples I have seen. There is a lot of support for them.
When I said System.Net.Mail what I really meant was System.Web.Mail.
Even so, typing "SMTP" in to the help search box takes you straight there, so nil points for research!
Dim x As String = "I, like, cheese"
Dim y As String() = x.Split(", ".ToCharArray)
You'll get "I", "", "like", "", "cheese"
Don't really know why is puts blanks in there like it does.
You shouldn't be using CreateGraphics. That defeats the point of all the double-buffering and painting management that is there for you. You should be using the Graphics object passed to the Paint event through e.Graphics. Then it knows what to do with it.
You messed something up, somewhere. Adding a usercontrol and changing it's name (in the class declare) is all you need to do. You'll probably change its filename too. Build your project and the new control will appear on the toolbox for Windows Forms in the project.
A nicer way would be to use the event-driven method:
Dim WithEvents myProcess As Process
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
myProcess = Process.Start("c:\windows\notepad.exe")
myProcess.EnableRaisingEvents = True
End Sub
Private Sub myProcess_Exited(ByVal sender As Object, ByVal e As System.EventArgs) Handles myProcess.Exited
MessageBox.Show("Exited!")
End Sub
I don't know java, but there is nothing that is called when the class is loaded in to memory. You can use the constructor for when the class is instantiated.
No, structures and classes are equally useful, they are value and reference types, respectively.
Classes derive from MarshalByRefObject, structures do not.