Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accepting a parameter when the EXE starts
Message
De
03/01/2005 16:29:41
 
 
À
03/01/2005 16:27:45
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00973920
Message ID:
00973933
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>>In the body of the method create a reference to your form class and execute it:
>>
>>
>>Dim oForm as yourformclass
>>oForm.ShowDialog()
>>
>
>It doesn't give any error in the code but at compile time, I have this:
>
>No accessible 'Main' method with an appropriate signature was found in 'Mitchell.Form1'.

This might work better if you add a new class to your project and put the Function Main in that class. Then mark this new class as your start up object instead of your form.
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform