I am Using the follwing function to Open File through Program
declare long ShellExecute in "shell32.dll" ; && Function to Open a File
long hwnd, ;
string lpszOp, ;
string lpszFile, ;
string lpszParams, ;
string lpszDir, ;
long nShowCmd
lnResult = SHELLEXECUTE(0, 'open', 'master.ps', '', '', 1)
The file is well opened in PS Viewer. However For my Program Use I want that when The User clicks, It should open in Notepad. (As I want User to Read/Write Data Inside through Notepad)
So How to force a File to Open in Notepad ?
Harsh