Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accepting a parameter when the EXE starts
Message
De
03/01/2005 15:52:39
 
 
À
03/01/2005 15:32:21
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00973920
Message ID:
00973923
Vues:
18
This can be done by adding an argument to your MAIN function. It will be a string array. So the MAIN function will look something like this:
Public Shared Function Main(ByVal argv As String())
Then you can check the length of the argv variable to see if any values were passed:
If argv.Length > 0 Then
  'call your function
End If
>I have the request to define the icon on the desktop, which is an EXE, to accept a parameter. Based on the parameter, if it is passed, I need to execute some function in my form code.
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform