Solved

Load Webpage in VB.NET Form

Posted on 2003-10-27
4
1,758 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

729 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