Forum posts for iexplore.exe

Process.Start(“IExplore.exe”); <— Is this reliable?

Process.Start('IExplore.exe');

Does this always work, on every machine ? If not, how to do it properly ?

... EDIT: .................................

The problem with Process.Start('http://www.example.com/'); is that we have to target a local html file, with some querystring specifying which page to load in the html frameset.
So our URL looks like the following:

G:PathToHelpFolderindex.html#search?page=1.html


If you pass this path to Process.Start, an error is generated: 'cannot find the file'. This is caused by the querystring at the end. (#search?page=1.html)

So, we have to start explorer (or default browser would be better) with the filepath as a command line argument. We found the method above at the MSDN documentation. (Process.Start('IExplore.exe');) Our only question is if this method is reliable enough to deploy to a commercial app. Mono isn't a problem, only windows systems are targeted.

... EDIT : Our solution ......

Our solution was to get the default browser from the registry, and start that with the filename as argument. (as stated in: http://stackoverflow.com/questions/2646825/launching-default-browser-with-html-from-file-then-jump-to-specific-anchor/2646944#2646944)

View complete forum thread with replies

Other posts related to iexplore.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

How can I find programatically where iexplore.exe is?
Strange ProcessorAffinity issue with IEXPLORE.exe
iexplore.exe process opens but I can't see it
Batch file to terminate all instances of IExplore.exe
Debugging SHDocVw.InternetExplorer.Quit not closing iexplore.exe process
Process.Start(“IExplore.exe”); <— Is this reliable?
VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed
How to capture keystrokes of iexplore.exe only?
Process.Start(“IEXPLORE.EXE”) immediately fires the Exited event after launch.. why?
Unhandled exception at 0x75619617 (KernelBase.dll) in iexplore.exe
Process.Kill does not seem to work with iexplore.exe
invoke iexplore.exe in already launched instance using ShellExecuteEx
Run iexplore.exe invisibly
Attaching the Script debugger to process '[XXXX] IEXPLORE.EXE' on machine 'NAME' failed
Can I pass the -f parameter to iexplore.exe when using Watir?

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.