What's Here?
- Members: 340,161
- Replies: 920,577
- Topics: 154,961
- Snippets: 4,855
- Tutorials: 1,257
- Total Online: 4,026
- Members: 127
- Guests: 3,899
|
|
Submitted By:
RodgerB
|
|
|
Rating:
|
| Views: 1,295 |
Language: VB.NET |
| Last Modified: January 1, 1970 |
Instructions: 1) Copy the code provided into a subroutine.
2) Edit the code to meet your purpose. |
Snippet
' Loop through all the command line arguments given.
For I As Integer = 0 To My.Application.CommandLineArgs.Count - 1
' If an argument equals /m
If My.Application.CommandLineArgs.Item(I) = "/m" Then
MsgBox("You have used /m!")
Else ' If it doesn't equal "/m"
MsgBox("Incorrect CMD Argument.")
End If
Next
Copy & Paste
|
|
|
Be Social
Reference Sheets
Bye Bye Ads
Monthly Drawing
Top Contributors
Top 10 Kudos This Month
|