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:21:45
 
 
À
03/01/2005 16:19:08
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00973920
Message ID:
00973930
Vues:
16
>>Apply the STAThread attribute to the function:
>>
>>
>><STAThread()> Public Shared Function Main(ByVal tcAuto As String)
>>
>
>It doesn't change anything.
>
>>Also, this method should be defined in the Startup Form of your applicaiton.
>
>The form is the application. That's the only think I have.

In the body of the method create a reference to your form class and execute it:
Dim oForm as yourformclass
oForm.ShowDialog()
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform