Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accepting a parameter when the EXE starts
Message
From
03/01/2005 15:52:39
 
 
To
03/01/2005 15:32:21
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00973920
Message ID:
00973923
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform