Solved

Load Webpage in VB.NET Form

Posted on 2003-10-27
4
1,743 Views
Last Modified: 2012-06-27
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,
0
Comment
Question by:nsophat
  • 2
4 Comments
 
LVL 3

Expert Comment

by:pg_india
ID: 9632026
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??

0
 
LVL 5

Expert Comment

by:fantasy1001
ID: 9632509
Yes, you can just a component name webbrowser and for browsing:

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

cheers
0
 

Author Comment

by:nsophat
ID: 9638826
Is it a Net or Com component ? and what is the name of that component ?

Thanks,


0
 
LVL 5

Accepted Solution

by:
fantasy1001 earned 50 total points
ID: 9639538
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
 
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question