VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Using this program you can run any type of file in your computer

by ojas (14 Submissions)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 1st November 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Using this program you can run any type of file in your computer

Rate Using this program you can run any type of file in your computer



File1.Path = Dir1.Path
End Sub

Private Sub Drive1_Change()
On Error GoTo msg
Dir1.Path = Drive1.Drive
Exit Sub
msg: MsgBox "Drive is not ready"
End Sub

Private Sub File1_DblClick()
Dim d
Call ShellExecute(0&, vbNullString, File1.FileName, vbNullString, Dir1.Path, vbNormalFocus)
End Sub


Download this snippet    Add to My Saved Code

Using this program you can run any type of file in your computer Comments

No comments have been posted about Using this program you can run any type of file in your computer. Why not be the first to post a comment about Using this program you can run any type of file in your computer.

Post your comment

Subject:
Message:
0/1000 characters