I am a novice user using Ms V Studio 2005. I would like to know how to set the address field of the internet explorer through a desktop application, on a press of the button. The url is provided by the apllication itself.
I am using only C#, no other language.
Loading
jebasinghPosted Jun 29, 2007, 8:01 AM
the namespace SHDocVw will be available once you done the reference..
using SHDocVw;
on the click of button control use the below code..
object missing = System.Reflection.Missing.Value;
object filName = @"http://google.co.in";
InternetExplorerClass IE = new InternetExplorerClass();
IE.Navigate2(ref filName,ref missing,ref missing,ref missing,ref missing);