Sub Main
-
-
-
Ok, first of all, what project are you running? Is it a Window application? Or is it a console Application? Where is your entry point into the app? Nick Seng (the programmer formerly known as Notorious SMC)
God, I pity me! - Phoncible P. Bone
Hello Nick I am running a Windows Application Project. I have not programmed in VB before, and what I have is the latest VB.NET software loaded on my machine. I am trying to teach myself VB.NET, but too bad the starting point seems to be quite difficult. Can I teach myself the basics of VB using VB.NET?
-
Hello Nick I am running a Windows Application Project. I have not programmed in VB before, and what I have is the latest VB.NET software loaded on my machine. I am trying to teach myself VB.NET, but too bad the starting point seems to be quite difficult. Can I teach myself the basics of VB using VB.NET?
Don't worry about it. VB.Net is quite easy once you get the hang of it :) OK, regarding your question. In VB.Net, there are 2 possible points of entry in an application, A windows form, or a Sub Main. To set either one, go to your Solution Explorer, Right-click on your Project and choose properties. Look for the "Startup Object" properties and it's corresponding Combobox, which will list any "Sub Main" and windows form in your application. Choose any one to have your program "start" from that point. Nick Seng (the programmer formerly known as Notorious SMC)
God, I pity me! - Phoncible P. Bone