Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Startup Program
Message
From
20/08/2003 17:39:04
 
 
To
20/08/2003 17:10:00
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
00822010
Message ID:
00822026
Views:
19
Hi, Jim.

> I want to make a class in a project the startup object. I've set the startup object property of the project to my class. When I compile I get a "sub main was not found..." message. My code is below, what's wrong?
>
>Public Class main
> Public Sub New()
> Dim oabout As New about("title", "author", "copyright", True)
> oabout.ShowDialog()
> End Sub
>End Class

add the main method with a code like this:
sub Main()

   'put here anything you have to run when starting up the object.
end sub
This method is gonna work as an entry-point.

HTH
Claudio Lassala
Previous
Reply
Map
View

Click here to load this message in the networking platform