DRUNKEN_MASTER
October 24th, 2002, 10:11 AM
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,
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,