View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Naveen Naveen is offline
external usenet poster
 
Posts: 100
Default How do I insert a HTML file in a VB Form?

- Right click on "Toolbox"
- Select "Additional Controls"
- Select "WebBrowser" from list
- Insert it on your form
- In the event you can code as follows:

WebBrowser1.Navigate ("www.yahoo.com")

eg:
Private Sub Button1_Click()
WebBrowser1.Navigate ("www.yahoo.com")
End Sub

You can replace "www.yahoo.com" with your webpage.

*** Please do rate ***




" wrote:

How do I insert a HTML file in a VB Form? I have a need to display a
webpage inside of a VB User Form...Any ideas? I'm pulling out my hair
(or whats left of it) trying to figure this one out...Any advice /
solution is much appreciated!