Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Startup Program
Message
De
20/08/2003 17:39:04
 
 
À
20/08/2003 17:10:00
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Divers
Thread ID:
00822010
Message ID:
00822026
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform