Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Startup program with application framework
Message
From
01/01/2006 18:09:01
 
 
To
01/01/2006 17:19:46
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01081950
Message ID:
01082362
Views:
7
Sorry, Michel ... I missed where you said you had already checked for the existence of oStartupEventArgs. Checking the Count of the CommandLine would have been my next suggestion. <g> Glad you got it working. =)

~~Bonnie



>Ok, I finally found the way to do it. It seems that object is always initialized and ready for the count. So, I can use this to see if a parameter has been passed:
>
>
>        ' Command line parameters
>        If Framework.App.oStartupEventArgs.CommandLine.Count > 0 Then
>            If UCase(Framework.App.oStartupEventArgs.CommandLine.Item(0)) = "/AUTO" Then
>                MessageBox.Show("Auto")
>            End If
>        End If
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform