PC Review


Reply
Thread Tools Rate Thread

Displaying html

 
 
John
Guest
Posts: n/a
 
      9th Jul 2004
Hi

How can I display html files on my vb form? I looked under references, both
net & com, but couldn't find anything appearing relevant.

Thanks

Regards


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      9th Jul 2004
Hi John,

For that is the axwebbrowser, it is an Interop to IE, not real dotnet, in
the next version would be a dotNet version.

A little example,

Open a new windows application project

In the toolbox rightclick and select add/Remove items

In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub
///

webbrowser
http://support.microsoft.com/?kbid=311303

some faqs
http://support.microsoft.com/default...b;EN-US;311284

mshtml
http://msdn.microsoft.com/library/de...ng/hosting.asp


I hope this helps a little bit?

Cor




 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      9th Jul 2004
* "John" <(E-Mail Removed)> scripsit:
> How can I display html files on my vb form? I looked under references, both
> net & com, but couldn't find anything appearing relevant.


311303 WebOCHostVB.exe Hosts the WebBrowser Control in Visual Basic .NET
<URL:http://support.microsoft.com/?id=311303>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying html Arinté Microsoft ASP .NET 2 26th Oct 2007 12:14 PM
Displaying HTMl with htmlGenericControl =?Utf-8?B?UmlrIEJyb29rcw==?= Microsoft C# .NET 2 21st Aug 2006 04:04 PM
displaying html help Bernie Yaeger Microsoft VB .NET 4 11th Nov 2005 09:29 PM
Displaying HTML in c# Iain Microsoft C# .NET 2 17th Dec 2003 03:07 PM
Displaying html Taher Baderkhan Microsoft Excel Misc 0 20th Aug 2003 09:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:25 AM.