Hi all,
As I,m not too familiar with API's, I'm having a problem closing Notepad from my app. I can create a new text file, write and save to it, then later open the file in Notepad.
My question is...how do I close Notepad from my app.

I've tried this:

ShellExecute 0&, "Close", "C:\Programs\Accessories\Notepad"

but its obviously wrong. Can anyone give me the correct code to close Notepad please.

GRAHAM