VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



EXE-Passed Parameters - When a program is executed, a line might of been added to the parameter. Th

by Dominic R (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 11th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

EXE-Passed Parameters - When a program is executed, a line might of been added to the parameter. This code shows you how to find out what it

Rate EXE-Passed Parameters - When a program is executed, a line might of been added to the parameter. Th



You can right click on the EXE icon in my computer and create a shortcut. Then change the shortcut parameter, e.g. C:\PROGRAMS\PROJECT1.EXE HELLO or C:\PROGRAMS\PROJECT1.EXE -Game

' 1. Create a new project
' 2. Make a command button on the form
' 3. Copy the following code into the main form

' CODE

Private Sub Form_Load()
Command1.caption = "Click Me!"
If command$ <> " " Then
Msgbox Command$

End If
End Sub

Private sub Command1_Click()
If command$ <> " " Then
Msgbox Command$

End If
End Sub

Download this snippet    Add to My Saved Code

EXE-Passed Parameters - When a program is executed, a line might of been added to the parameter. Th Comments

No comments have been posted about EXE-Passed Parameters - When a program is executed, a line might of been added to the parameter. Th. Why not be the first to post a comment about EXE-Passed Parameters - When a program is executed, a line might of been added to the parameter. Th.

Post your comment

Subject:
Message:
0/1000 characters