Problem converting to VS2005 - No SUB MAIN found!

  • Thread starter Thread starter Bill nguyen
  • Start date Start date
B

Bill nguyen

I converted a VB.NET 2003 app to 2005.
I got error "SUB MAIN" not found. Why 05 requires a Sub Main to run? I never
used Sub Main in my apps.

Thanks

Bill
 
Bill,

I don't use them as well not in 2003 and not in 2005

So there should be something special.

What is hart to see from here.

Cor
 
It doesn't. I'm looking at my project right now and it starts from a
form, frmMain. From the pulldown, select "Project/YourApp
Properties..." - down at the very bottom. It should come up with the
Application tab (on the left column) selected. What does it say for
your startup object? If it says Sub Main and you want it to say a
form, just select the form from the dropdown list.
 
Back
Top