VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Make a InputBox pop up then type the path of the file you want to shell

by Alex Fero (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 2nd March 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Make a InputBox pop up then type the path of the file you want to shell

Rate Make a InputBox pop up then type the path of the file you want to shell



Private Sub Command1_Click()
strShellProg = InputBox("What program do you want to open?", "Program", "Notepad")
RetVal = Shell(strShellProg, 1)
End Sub

Download this snippet    Add to My Saved Code

Make a InputBox pop up then type the path of the file you want to shell Comments

No comments have been posted about Make a InputBox pop up then type the path of the file you want to shell. Why not be the first to post a comment about Make a InputBox pop up then type the path of the file you want to shell.

Post your comment

Subject:
Message:
0/1000 characters