VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Start notepad.exe with a file

by smashy donwell (1 Submission)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Tue 15th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Start notepad.exe with a file

Rate Start notepad.exe with a file




Dim dname As String
Dim prog As String

dname = "c:\test.txt"                    'your file position
prog = "Notepad.exe"                     'programm
Shell prog & " " & dname, vbNormalFocus  'shell programm+file as vbNormalFocos

End Sub


Download this snippet    Add to My Saved Code

Start notepad.exe with a file Comments

No comments have been posted about Start notepad.exe with a file. Why not be the first to post a comment about Start notepad.exe with a file.

Post your comment

Subject:
Message:
0/1000 characters