WebBrowser Control - Lightweight, or Fullpowered?

I am using a WebBrowser and I am disappointed to see that the control offers access to the PageSetup, Print, Print Prview, Properties, and Save As Dialogs it does not allow access (at least not directly) to the Internet Options dialog (Tools, Internet Options). I had hoped to allow access to this dialog but I can find no quick and easy way to do it, so it looks like I'll have to reinvent the wheel (write my own dialog with the same functionality).

Is this because the WebBrowser control is a lightweight version of Internet Explorer, or am I wrong? Is there some way to gain access to the Internet Options dialog that I have not come accross?

smad007Asked:
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.

RimvisCommented:
HOW TO: Invoke the Find, View Source, and Options Dialog Boxes for the WebBrowser Control from Visual Basic .NET
http://www.kbalertz.com/Feedback.aspx?kbNumber=311288
smad007Author Commented:
Thanks Rimvis,

The article looks promising, but in trying to use the code provided in the article I get errors where IOleCommandTarget and mshtml.HTMLDocument are not recognized. The article mentions that you need to include a reference to Microsoft.Mshtml in the project, but when I try to add the reference I cannot find Microsoft.Mshtml listed anywhere.

Has anyone had any luck gaining access to the Internet Explorer's Internet Options dialog from their VB.NET app.?
smad007Author Commented:
I found this article while searching for a way to gain access to the Internet Options dialog: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1953&lngWId=10

There is example code that takes a bit of tweaking to get it to compile with beta 2, but it does work if you follow the comments below the article. This code gives examples of how to do almost anything you might want with your own browser control.

One thing though, this whole time I've been using the regular old WebBrowser control, when I guess I really wanted the Microsoft WebBrowser control, so if anybody is reading this and trying to do the same thing I am make sure you add the Microsoft WebBrowser control to your toolbox and use that one. (Right click in the toolbox, click Choose Items, click COM Components, then scroll down to find Microsoft Web Browser)

Anyways, the answer to the question: How to gain access to the Internet Options dialog?

       Try
            Shell("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,0", 5)
        Catch ex As Exception
            MsgBox(ex.Message.ToString)
        End Try

That will do it, and it's nice and concise. The bigger question: Is the Microsoft WebBrowser control lightweight? I'd have to say no, it seems pretty full-powered after reading the article I listed, and taking a look at the example given.
RimvisCommented:
>> PAQ/refund

OK
moduloCommented:
Closed, 500 points refunded.
modulo
Community Support Moderator

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
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.