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.
dunnieboyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sukumar_diyaCommented:
Hi,
Please see this question http://www.experts-exchange.com/Programming/Q_20905712.html

Hope it helps you. Please mention the error you are getting....

Sukumar
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
prakash_prkCommented:
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


0
ajaikumarrCommented:
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

armoghanCommented:
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

0
armoghanCommented:
if you want to run it independently from OS use this
 Try
            Dim myProcessinfo As ProcessStartInfo = New ProcessStartInfo("iexplore")
            myProcessinfo.Arguments = "http://www.yahoo.com"
            Dim myProcess As Process = System.Diagnostics.Process.Start(myProcessinfo)
        Catch ex As Exception
            Console.WriteLine(ex.StackTrace)
        End Try
0
1209Commented:
Hi,

as morgan said use process.start(hyperlink)...this will launch the page in the default html browser
0
armoghanCommented:
split
sukumar_diya , armoghan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.