RE: shell to MS explorer

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

> -----Original Message-----
> From: gwalters at sc.rr.com [mailto:gwalters at sc.rr.com]

> I have found this doc for VB but the following command 
> returns a -1 from IE
> apparently. any helpful ideas on why this won't work?
> 
> key = system_exec ("d:\\Microsoft Internet\\IExplorer.exe
> D:\\euphoria\\ACUdata\\DUMP.HTM",0)
> 
> Private Sub StartWithArguments() 'Declare and instantiate a 
> new process
> component. Dim myproc As System.Diagnostics.Process myproc = New
> System.Diagnostics.Process 'Do not receive an event when the 
> process exits.
> myproc.EnableRaisingEvents = False 'Start Internet Explorer, 
> passing in a
> web page. myproc.Start("IExplore.exe", 
> "http://www.microsoft.com") End Sub

If you're using win32lib, you could use ShellExecute[Ex] (you could use them
if you're not using win32lib, but you'd have to wrap them):

ShellExecute( "explore", "http://www.microsoft.com", SW_SHOWNORMAL)

You could also try:

ShellExecuteEx( "open", "iexplore.exe", "http://www.microsoft.com", "",
SW_SHOWNORMAL, 0)

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu