1. Starting Word from Euphoria
- Posted by cklester <cklester at yahoo.com> Feb 08, 2006
- 633 views
- Last edited Feb 09, 2006
How would I start Microsoft Word (actually, a particular template file) using Win32Lib? -=ck "Programming in a state of Euphoria." http://www.cklester.com/euphoria/
2. Re: Starting Word from Euphoria
- Posted by Bernie Ryan <xotron at bluefrog.com> Feb 08, 2006
- 627 views
- Last edited Feb 09, 2006
cklester wrote: > > How would I start Microsoft Word (actually, a particular template file) using > Win32Lib? > > -=ck > "Programming in a state of Euphoria." > <a > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> What's wrong with system_ exec() ? Bernie My files in archive: w32engin.ew mixedlib.e eu_engin.e win32eru.exw Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
3. Re: Starting Word from Euphoria
- Posted by Greg Haberek <ghaberek at gmail.com> Feb 08, 2006
- 621 views
- Last edited Feb 09, 2006
> How would I start Microsoft Word (actually, a particular template file) u= sing > Win32Lib?
shellExecute( "open", "template file name", SW_SHOWNORMAL )
There's also a way to use DDE if this doesn't suit your needs. ~Greg
4. Re: Starting Word from Euphoria
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Feb 09, 2006
- 628 views
cklester wrote: > > How would I start Microsoft Word (actually, a particular template file) using > Win32Lib? > Another option would be to use COM. You could take a look at the Excel demo that comes with EuCOM to get an idea of how to do this. Matt Lewis
5. Re: Starting Word from Euphoria
- Posted by cklester <cklester at yahoo.com> Feb 09, 2006
- 617 views
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. -=ck "Programming in a state of Euphoria." http://www.cklester.com/euphoria/
6. Re: Starting Word from Euphoria
- Posted by cklester <cklester at yahoo.com> Feb 09, 2006
- 609 views
Greg Haberek wrote: > > > How would I start Microsoft Word (actually, a particular template file) u= > > sing Win32Lib? > > }}} <eucode> > shellExecute( "open", "template file name", SW_SHOWNORMAL ) > </eucode> {{{ Thanks, Greg! That works perfectly. -=ck "Programming in a state of Euphoria." http://www.cklester.com/euphoria/
7. Re: Starting Word from Euphoria
- Posted by Igor Kachan <kinz at peterlink.ru> Feb 09, 2006
- 641 views
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