How to excute IE with specified URL?

  • Thread starter Thread starter Boki
  • Start date Start date
B

Boki

Hi All,

I want to excute IE with specified URL, my code:


Process p = new Process();
p.StartInfo.FileName = @"C:\Program Files\Internet
Explorer\IEXPLORE.EXE http://www.google.com?ei=UTF-8&p=" +
textBox1.Text;
p.StartInfo.CreateNoWindow = true;
p.Start();

// the string can pass by shell in VB, but I don't know how to do that
in C#...

Best regards,
Boki.
 
Back
Top