display a webpage in a windows form

  • Thread starter João Santa Bárbara
  • 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
 
C

Cor Ligthert

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top