Internet Explorer Question - Please help

A

Anand Ganesh

Hi All,

I have an .html file which I have to Launch from my C# application. I want
to open Internet Explorer and show that .html file in it. Can anyone please
suggest how to do this?

Thanks for your time

Regards
Anand Ganesh
 
G

gani

hi anand,

System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "iexplore";
p.StartInfo.Arguments = "www.google.com"; //or your html file path and
filename
p.Start();

hope this helps
 
A

Anand Ganesh

Thanks a lot gani. This really helps.


gani said:
hi anand,

System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "iexplore";
p.StartInfo.Arguments = "www.google.com"; //or your html file path and
filename
p.Start();

hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top