Solved

Load Webpage in VB.NET Form

Posted on 2003-10-27
4
1,729 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now