display a webpage in a windows form

  • Thread starter Thread starter João Santa Bárbara
  • Start date Start date
J

João Santa Bárbara

hi all anyone knows how to open an webpage
inside windows form ?

i don´t want to call ie, i prefer to use ie activex and put the object
inside my form

thks
JSB
 
João

The AxWebbrowser

A little example,

Open a new windows application project

In the toolbox rightclick and select add/Remove items

In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub

webbrowser
http://support.microsoft.com/?kbid=311303

some faqs
http://support.microsoft.com/default.aspx?scid=kb;EN-US;311284

I hope this helps?

Cor
 
Back
Top