View Single Post
Old 06-23-2005, 07:16 AM   #1 (permalink)
Mohan Giri
 
True Techie

Join Date: Dec 2004

Posts: 145

Mohan Giri

Default Vb.Net Submain Error

Hi everyone,
I have created one console application in vb.net and included one module. In the module I used one sub main. If I compile this I got a error like:

'Sub Main' was not found in 'ConsoleApplication1'.

I searched for this in Google. I got a solution for this. In the solution they told to change the Startup Object to "Sub main" from "Module1" in the console application's project. I did it. Eventhough I am getting the same error. Anybody can help me??

Advance thanks.
Mohan Giri is offline