Load Webpage in VB.NET Form

nsophat
nsophat used Ask the Experts™
on
Hi,

I want to load a webpage into my vb.net form. So there is no need to open IE to view webpage.

Please recommend on how to do this ?

Thank in advance,
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
never used in vb.net.

in vb u can use a webbrowser control and then using url/navigate property u can call a particular webpage.

May be in vb.net sumthg similar is there??

Yes, you can just a component name webbrowser and for browsing:

webbrowser.navigate ("www.experts-exchange.com")

cheers

Author

Commented:
Is it a Net or Com component ? and what is the name of that component ?

Thanks,


Here is the guidelines:

To add the WebBrowser control to your toolbox, open the Tools menu and select Add/Remove Toolbox Items. Select the COM Components tab, wait a long time for the tab to load, check the box next to Microsoft Web Browser, and click OK.
Now use the Toolbox to place a WebBrowser control on the form.

The following code shows how the example program uses the control's Navigate method to open a URL (or fully qualified file name).
 
Private Sub btnGo_Click(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles btnGo.Click
    AxWebBrowser1.Navigate(txtUrl.Text)
End Sub
 

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial