Current location: Hot Scripts Forums » Programming Languages » Windows .NET Programming » runtime errors


runtime errors

Reply
  #1 (permalink)  
Old 11-19-03, 06:58 AM
doug doug is offline
New Member
 
Join Date: Nov 2003
Location: England
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
runtime errors

i'm kinda new to vb.net although i have been using vb6 4 over a year now. So when i got this error it really stumped me. this is the error:

'Sub Main' was not found in 'WindowsApplication6.Form1'.

what does it mean, what is this sub main.

I no to most of you guys this must be simple but im really stuck.

thnx for any help
Reply With Quote
  #2 (permalink)  
Old 11-24-03, 01:07 PM
Addict's Avatar
Addict Addict is offline
Newbie Coder
 
Join Date: Nov 2003
Location: Ohio
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by doug
i'm kinda new to vb.net although i have been using vb6 4 over a year now. So when i got this error it really stumped me. this is the error:

'Sub Main' was not found in 'WindowsApplication6.Form1'.

what does it mean, what is this sub main.

I no to most of you guys this must be simple but im really stuck.

thnx for any help
Sub Main is referring to the start point of the project. Check your project properties. Its likely that you changed the name of a form that was originally set to start up.
Reply With Quote
  #3 (permalink)  
Old 03-20-04, 05:21 PM
Hive Hive is offline
Newbie Coder
 
Join Date: Mar 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Check your tasks tab at the bottom of the window.
If you see the message there, double-click it, then select the form you want to start up first.
Reply With Quote
  #4 (permalink)  
Old 03-22-04, 08:41 PM
haowei haowei is offline
Newbie Coder
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Question

Quote:
Originally Posted by Addict
Sub Main is referring to the start point of the project. Check your project properties. Its likely that you changed the name of a form that was originally set to start up.
Thanks! that's the problem i encountered.
but how to change the form name if i do want to?
Reply With Quote
  #5 (permalink)  
Old 03-22-04, 10:04 PM
Addict's Avatar
Addict Addict is offline
Newbie Coder
 
Join Date: Nov 2003
Location: Ohio
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by haowei
Thanks! that's the problem i encountered.
but how to change the form name if i do want to?
Right click on your solution (inside VB.net) and goto properties. Its the first page I believe.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python's CGI's errors messages khibinite Other Languages 2 06-28-03 04:03 PM


All times are GMT -5. The time now is 02:16 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.