By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,639 Members | 1,326 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,639 IT Pros & Developers. It's quick & easy.

Problem converting to VS2005 - No SUB MAIN found!

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.