RE: run windows program
"Pete Frehner" <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <[email protected]> |
We had a similar problem and it doesn't work. We had to have a client side exectuable that looks at the registry for the program associated to file extension. Bascially we call
winexecwait("c:/temp/shelexec.exe /f c:/temp/myfile.pdf /r:max")
and it works just fine.
look at http://www.naughter.com/shelexec.html
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Brian Grellinger
Sent: Friday, July 08, 2005 11:43 AM
To: [email protected]
Subject: Re: [fourjs-users] run windows program
Shellexec may do it.
Brian Grellinger
I.S. Manager
Doosan Infracore America Corp
Information Systems
>>> [email protected] 07/08/05 10:39AM >>>
Hello list.
Does anyone know how to start a windows program from 4js depending on the
windows file extension.
Like :
LET win_cmnd = "c:\\\\test.eml"
CALL WinExecWait(win_cmd) returning ...
I would like it to start Outlook with the file test.eml but instead 4js
crashes.
Many thanks
Henk Sanders