Re: I need someone to test this on Windows
Brian Broker wrote:
>
> Jerry Story wrote:
> >
> > Brian Broker wrote:
> > > I tried replacing
> > > WIN_INTERNET_PROGS = {"start"}
> > > with
> > > WIN_INTERNET_PROGS = {"RunDll32.exe url.dll,FileProtocolHandler"}
> > >
> > > but it only partially worked.
> > > It opens a command window and sits there. When
> > > I close the command window, it opens up the web page...
> > >
> > > There must be a better way.
> >
> > Thanks for the effort. Does system_exec() work better than system() ?
> > The Euphoria documentations says that system() starts a new DOS shell
> > and system_exec() does not.
>
>
> nul = system_exec(cmd,0) does not show a console window but it still takes a
> good 30 seconds for it to bring up the browser window w/ search. Matt's
> solution
> worked the same. When I reported earlier the need to close the stubborn
> console
> window, it really meant that I was impatient and didn't wait for it to close
> (and then open the browser /w search).
>
> I'm not sure why that is... I've always avoided the 'system' commands thinking
> they were more geared for a Dead Operating System.
>
> I'm back to thinking the shellexecute wrapper might be best. Unless you or
> someone else already has a solution, I could try that idea tomorrow.
Since Jerry's using wxEuphoria, he could use wx_shell() instead.
Matt Lewis
|
Not Categorized, Please Help
|
|