Re: run windows program

"Brian Grellinger" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <s2d4dea5.050@da-nw3>
Hmmm . . .
We did not implement Genero because of the copy/paste deficiency, yet
we use shellexec in a LOT of BDL programs: 
(variable fglserver contains IP of workstation) 
 
let scratch = "rsh ", fglserver clipped, " shellexec C:/filename.xls"
run scratch
 
This works like a charm on XP.
(BDL 3.53, WTK 3.54.1a)

 
 
Brian Grellinger
I.S. Manager
Doosan Infracore America Corp
Information Systems

>>> [email protected] 07/13/05 08:49AM >>>
Hi Brian,ShellExec is only in genero,not BDL.
For letting WinExecWait working properly within BDL,the whole
commandline must be sent properly
LET    win_cmnd = "outlook.exe c:\\\\test.eml" (assuming outlook in the
path)
The crash bug has been fixed meanwhile (error in formatting the error
message:-()

Kind Regards, Leo
----- Original Message ----- 
From: Brian Grellinger 
To: [email protected] 
Sent: Friday, July 08, 2005 5:43 PM
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.