Link to home
Start Free TrialLog in
Avatar of dunnieboy
dunnieboy

asked on

How do I control IE from VB.NET ?

HEre is my code so far that does not work.

  Dim ie As Object
        ie = CreateObject("InternetExplorer.Application")
        ie.Navigate("www.shimmerstudios.com")

I get errors when trying to run this code.
ASKER CERTIFIED SOLUTION
Avatar of sukumar_diya
sukumar_diya
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi dunnieboy

what you exactly want to do.?
Are you wnat to use the browser control ?
Are you try to add the browser functionality to your application ?

Regards
Prakash


Avatar of ajaikumarr
ajaikumarr

You just need to add the MSHTML object in your form and you have the browser embed in your application
see this application. Its a clone of IE

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1953&lngWId=10

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

as morgan said use process.start(hyperlink)...this will launch the page in the default html browser
split
sukumar_diya , armoghan