This should be so simple, I know. I have already created and closed the file, let's say "xyz.txt", and now I need to open it in notepad so the user can see, edit, and/or Save As. How do I do this in VB6?
Printable View
This should be so simple, I know. I have already created and closed the file, let's say "xyz.txt", and now I need to open it in notepad so the user can see, edit, and/or Save As. How do I do this in VB6?
Try calling notepad with Shell and add the file's name and path as a parameter
Welcome to the forums.VB Code:
Private Sub Command1_Click() Shell "notepad c:\xyz.txt", vbNormalFocus End Sub
Thanks, that helps a lot.
Remember you can use Google as your friend, or the built in Search engine on this forum :)
Madboy: Did you happen to see the Delphi question in the API section?
no, i will look now...