If you useShell (App.Path + "\TextDocument.txt"
Would it open the text document in the default program? (I.E., Notepad)
Try it?
No. You can use the ShellExecute API for this purpose, though.
You can run it as a parameter of notepad, ie shell("Notepad C:\system.ini") will probably open system.ini in notepad.
Shell "notepad " & myTextFilePath, vbNormalFocus
Yep.
Quote from: Stealth on November 07, 2003, 05:13 PM
Shell "notepad " & myTextFilePath, vbNormalFocus
Yep.
Although I would recommend UEdit32, www.ultraedit.com. I use it for all my non-programming.