Is it possible to start a *document* with its registered application?
Would be nice to have a command runfile() equal to runprogram()
(I've changed my name from hkey to high key, because hkey didn't make any sense


Code: Select all
Procedure Launch (file$, parameter$, runfrom$)
ShellExecute_ (0, "open", file$, parameter$, runfrom$, "")
EndProcedure
f$ = OpenFileRequester ("Open a file...", "", "", -1)
; The interesting part... :wink:
Launch (f$, "", "")


But RunProgram does just what you ask.Would be nice to have a command runfile() equal to runprogram()
Code: Select all
file.s=OpenFileRequester("Open File","","",0)
If file""
RunProgram(file,"","",0)
EndIf