|
-
October 24th, 2002, 10:11 AM
#1
How to inform explicitly with code where Main() is (the startup object)???
Hi,
Today I decided to get my hands dirty with VB.NET and find out for myself if .NET measures up to all the hype...
Briefly, I did my first "Hello World" in a console app. but when I changed the default module name "Module1" to "modHello" and I got the following build error when running the app...
'Sub Main' was not found in 'ConsoleApplication1.Module1'.
I searched hi and low and jig and poked at it until I finally instinctively double clicked on the error message which brought up a window asking me to choose the startup object... which fixed the problem....
However, I would like to know how to set the startup code (where Main() is located) before running the up and getting that ugly build error....
Thanks,
DrUnKeN MaStEr 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|