Re: Starting Word from Euphoria

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

cklester wrote:

> 
> Bernie Ryan wrote:
> > cklester wrote:
> > > How would I start Microsoft Word (actually, a particular template file)
> > > using
> > > Win32Lib?
> > What's wrong with system_ exec() ?
> 
> I don't want it to hang my Euphoria program. That is, I want Word started and
> run independent of the Euphoria program.

Hi CK,

Try please:

integer i
i=1

system("START /DC:\\ /MIN /NORMAL WINWORD.EXE", 2)
system("START /DC:\\ /MIN /NORMAL NOTEPAD.EXE", 2)
-- works with exw.exe for me without hanging

system("CMD /C \"START /DC:\\ /MIN /NORMAL WINWORD.EXE\"", 2)
-- works with ex.exe and with exw.exe for me without hanging too

position(2,1)
? i

while get_key()=-1 do
end while


Try also in Windows console:

start /?

then

cmd /? 

Regards,
Igor Kachan
kinz at peterlink.ru

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

Search



Quick Links

User menu

Not signed in.

Misc Menu