• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 430
  • Last Modified:

VS 2002 Sub Main

Error tells me I do not have a Sub Main().
I don't want one.  So how do I change this and just set a startup page?
0
earlofroberts
Asked:
earlofroberts
  • 4
  • 3
1 Solution
 
CsharpCommented:
can you post exact errpr message
0
 
earlofrobertsAuthor Commented:
This project does not have a valid Sub Main
0
 
Bob LearnedCommented:
Wow!!  2002?  If you don't select a startup form, then you need Sub Main.  To select a startup form, right-click on the project properties in Solution Explorer.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
earlofrobertsAuthor Commented:
I have done that.  It doesn't give me any form alternatives and it won't accept one I type in.  BTW, this is a web app.
0
 
Bob LearnedCommented:
Can you attach a .png screen shot of the web application properties from right-clicking on the project in the Solution Explorer?  I never used 2002, and I know that it was a significantly different than the 2005 version that I use.
0
 
earlofrobertsAuthor Commented:
screen shot
Screenshot.png
0
 
Bob LearnedCommented:
If you attach an image directly, then you can see the image in the browser.  

If you look at the project properties, you can see that this is a Windows Application, and not a web site.  How did you create this project?  

Example:
     File | New | Project | Visual Basic | Web | ASP.NET Web Application
0
 
earlofrobertsAuthor Commented:
Thanks for catching that.  I'll recreate it.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now