RE: [WIN] executing an exe file

new topic     » topic index » view thread      » older message » newer message

joshua goldberg wrote:
> I have a need to execute an exe  from within a Euphoria Win32lib 
> program, 
> without opening a DOS window. I'm pretty sure there's something in 
> Win32lib 
> that will do it, but I can't find anything. Closest I could find is 
> ShellExecute, 
> which (from the docs) sounds like it should do what I want. Problem is, 
> I don't 
> understand the parameters. Tried the following, but the .exe file didn't 
> execute.
> 
> shellExecute("run", "DAILY.EXE", SW_SHOWNORMAL)
 
Joshua,

The first parm in shellExecute should be "open".

Jonas

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu