How to excute IE with specified URL?

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.
 

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