|
-
May 16th, 2005, 09:12 AM
#1
Thread Starter
Lively Member
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.
-
May 16th, 2005, 01:54 PM
#2
Thread Starter
Lively Member
Re: About That WebBrowser Control
-
May 17th, 2005, 11:21 AM
#3
Thread Starter
Lively Member
Re: About That WebBrowser Control
-
May 17th, 2005, 01:33 PM
#4
Frenzied Member
Re: About That WebBrowser Control
throw some code in here...that might help us narrow down some possibilities
-
May 17th, 2005, 03:00 PM
#5
Thread Starter
Lively Member
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:
Imports System.IO
Private Sub HelpBrowser_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HelpBrowser.Enter
HelpBrowser.Navigate("http://www.google.com")
End Sub
CP
-
May 18th, 2005, 09:01 AM
#6
Thread Starter
Lively Member
Re: About That WebBrowser Control
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|