HI,
I started my first VB.net program, by starting a Console Application.By Default it created a Module1.vb file and in the content editor there was a Module declared as follows:
Module Module1
Sub Main()
End Sub
End Module
I changed the name of the Module in the content Editor from Module1 to MyTestModule and I get this Error saying
"Startup code 'Sub Main' was specified in 'ConsoleApplication2.Module1', but 'ConsoleApplication2.Module1' was not found."
But the text book says I can change the Module name to anything one wants. What is going wrong?
henry
I started my first VB.net program, by starting a Console Application.By Default it created a Module1.vb file and in the content editor there was a Module declared as follows:
Module Module1
Sub Main()
End Sub
End Module
I changed the name of the Module in the content Editor from Module1 to MyTestModule and I get this Error saying
"Startup code 'Sub Main' was specified in 'ConsoleApplication2.Module1', but 'ConsoleApplication2.Module1' was not found."
But the text book says I can change the Module name to anything one wants. What is going wrong?
henry