468,242 Members | 1,685 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,242 developers. It's quick & easy.

Problem converting to VS2005 - No SUB MAIN found!

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
Mar 28 '06 #1
2 1209
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

"Bill nguyen" <bi*****************@jaco.com> schreef in bericht
news:O9**************@TK2MSFTNGP14.phx.gbl...
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

Mar 28 '06 #2
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.

Mar 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bill Nguyen | last post: by
12 posts views Thread by Ron M. Newman | last post: by
reply views Thread by Adi | last post: by
1 post views Thread by =?Utf-8?B?Sm9uYXRoYW4=?= | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.