Ronnie Bussey
Jun 25th, 2000, 09:27 AM
Hi to All!
I'm stumped with something that I know has to be a simple procedure. Can anyone help...Please?
I am trying to make a VB "command button" open Notepad.exe + a specified .txt file. I can get Notepad to open but, I'm not sure of the proper syntax to open the textfile in Notepad.
Here is what I have so far, any suggestions would be most greatfully appreciated!:
Private Sub cmdCommand1_Click()
Call Shell("C:\windows\notepad.exe", vbNormalNoFocus)
End Sub
Many Thanks!
Ronnie Bussey
I'm stumped with something that I know has to be a simple procedure. Can anyone help...Please?
I am trying to make a VB "command button" open Notepad.exe + a specified .txt file. I can get Notepad to open but, I'm not sure of the proper syntax to open the textfile in Notepad.
Here is what I have so far, any suggestions would be most greatfully appreciated!:
Private Sub cmdCommand1_Click()
Call Shell("C:\windows\notepad.exe", vbNormalNoFocus)
End Sub
Many Thanks!
Ronnie Bussey