Results 1 to 6 of 6

Thread: About That WebBrowser Control [FORGET IT - I'll do something else]

  1. #1

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Thumbs down About That WebBrowser Control [FORGET IT - I'll do something else]

    I'm finding that the COM WebBrowser control that you guys helped me with won't display within a tab for some reason...any idea why? What am I missing? I can get it to work in its own form, but I need it to work in a tab control.

    Thanks,
    CP
    Last edited by milkmood; May 18th, 2005 at 09:02 AM.

  2. #2

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Re: About That WebBrowser Control

    Comments? Ideas?

  3. #3

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Re: About That WebBrowser Control

    Bueller?

  4. #4
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    Re: About That WebBrowser Control

    throw some code in here...that might help us narrow down some possibilities

  5. #5

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Re: About That WebBrowser Control

    The code is dead simple to get something to appear in this control (the control is AxWebBrowser). The web browser control is on a tab control page. I don't see that this should be a problem, all the other controls work just fine on tab pages. All I want to do is call an html help file when it's clicked from a link label on the same tab page, and have it rendered in the HelpBrowser like any other html file. Seems like it should be simpler than anything for a simple help file.

    I can get it to work when it's inside a form all its own, so I really don't understand why it's not working here. I used the same imports, same event, same everything. Google won't even come up like it does in other places I've used this control. In fact, there's not even a blank white field where the browser should appear, it's failing to even redraw that portion from the last tab used. Strange.
    VB Code:
    1. Imports System.IO
    2.  
    3.     Private Sub HelpBrowser_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HelpBrowser.Enter
    4.         HelpBrowser.Navigate("http://www.google.com")
    5.     End Sub

    CP

  6. #6

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Re: About That WebBrowser Control

    Ok, nevermind.

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