Re: run windows program

"Leo Schubert" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <012c01c587ab$47468b10$0400a8c0@LEOIBM>
Cool,
and it also have a /WAIT parameter.
Thank you,
Leo
  ----- Original Message ----- 
  From: Pete Frehner 
  To: [email protected] 
  Sent: Friday, July 08, 2005 5:57 PM
  Subject: RE: [fourjs-users] run windows program


  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
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.