PDA

Click to See Complete Forum and Search --> : API and Notepad


Vince McMullin
Jul 28th, 2000, 08:54 AM
Is there an API that will open notepad?

More specifcally a text file in notpad? If so can someone tell me the code?

For example, someone clicks a button and the desired text file appears in notepad.....

Jul 28th, 2000, 12:57 PM
You can just Shell Notepad and pass the file name as the command line argument.


Shell "C:\Windows\Notepad.exe C:\MyTextFile.txt", vbNormalFocus