Debugging Programs problems
-
Hello, All I am trying to do is run simple programs that I learn from a book every time I "Start without Debugging" it gives me a messageBox with "there were build erors" Now this seems to happen when I rename the ".vb" file and rename the "Module" (I am in the beggining of the book and were are just on simple modules). Also under the build error 'Task List' it says "Sub Main was not found in 'ConsoleApplication1.Module1 Help. I am a rookie and i need help fast :( :confused:
-
Hello, All I am trying to do is run simple programs that I learn from a book every time I "Start without Debugging" it gives me a messageBox with "there were build erors" Now this seems to happen when I rename the ".vb" file and rename the "Module" (I am in the beggining of the book and were are just on simple modules). Also under the build error 'Task List' it says "Sub Main was not found in 'ConsoleApplication1.Module1 Help. I am a rookie and i need help fast :( :confused:
It seems like you need to set the startup object in the project properties. TO access the project properties, you can either: 1. Click Project on the Menu Bar and select Properties, or 2. Right-click on your project in the Solution Explorer and select properties On your project property dialog, you will see a combo box labelled "Startup Object". Navigate your combo box and select a startup object, which is usually a Sub Main method. Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain
Get your facts first, and then you can distort them as much as you please Mark Twain