One of the common questions I received from newbie’s is on how to set a certain form to be the Startup Form.
Undoubtedly, this is a very simple question but if you are a beginner trying to learn Visual Basic you will find it very difficult to find what you are looking for because of so many options to choose from. Visual Basic is considerably one of the famous programming languages to date and its features evolve overtime, not to mention that it was a product by Microsoft.
Now let’s head on…
On our previous topic “How to Add Windows Forms” I discuss on how to add a windows form. If you follow patiently on my tutorial you will have now two forms in your Project file called “Library System”. First, “Form1” which is the default form added when you create the Project. Second, “frmbooks” which we added on our previous tutorial.
Change The Startup Form to frmbooks
Press F5 from your keyboard and you’ll see that frmBooks form is now the startup form.
Back to Visual Basic .NET 2008 Tutorial.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.