Results 1 to 2 of 2

Thread: WebBrowser in my program...

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    Glasgow, MT, USA
    Posts
    44

    Angry

    Where can I find an OCX or DLL WebBrowser other than the one that comes with windows? I just need to display an HTML file in my program.

    Im having comatability errors with 95 and 98 useing the shdocvw.dll. That is the file for Microsofts internet controls. works fine in 98 but crashes in 95. I am giving up on that file.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264

    Cool

    Add "Microsoft Internet Controls" to your toolbox

    add the WebBrowser, and a command button to the form if you want it to show something from your hard drive:

    Private Sub Command1_Click()
    WebBrowser1.Navigate ("file:\\c:\index.html")
    End Sub

    otherwise, just specify the URL instead...

    Hope that that's what you meant


    alon



    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width