Internet Explorer Question - Please help

  • Thread starter Thread starter Anand Ganesh
  • Start date Start date
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
 
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
 
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
 
Back
Top