VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Pass an argument to an exe

by RAHUL A. SURVE (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 1st December 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Pass an argument to an exe

Rate Pass an argument to an exe



also this can be passed from dos command after running the exeas follows
c:\nameofexe.exe 1000,1000

Private Sub Form_Load() 'TO PASS AN ARGUMENT TO THE EXE
Dim LSTR As String
LSTR = Command()
MsgBox LSTR
End Sub

Download this snippet    Add to My Saved Code

Pass an argument to an exe Comments

No comments have been posted about Pass an argument to an exe. Why not be the first to post a comment about Pass an argument to an exe.

Post your comment

Subject:
Message:
0/1000 characters