?
Solved

Load Webpage in VB.NET Form

Posted on 2003-10-27
4
Medium Priority
?
1,765 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 150 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

770 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