Results 1 to 5 of 5

Thread: Web Browser Control *RESOLVED*

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2003
    Posts
    16

    Web Browser Control *RESOLVED*

    Ok first off i got a form with 2 web browser controls i want to be able to click a link in one and make the other browser to load it.

    Or make the XP Style side by the one when you open up my computer and a hard drive is there any place with a Tutoral or anything i been trying to get this working for almost a week now and can not get it working. Thank you.
    Last edited by Braladil; Oct 12th, 2003 at 12:46 PM.

  2. #2
    Junior Member
    Join Date
    Sep 2002
    Posts
    22
    When you say the Windows XP side style you meen the
    left bar in the folders?
    If yes check this out...

    Explorer_Bar_Control

  3. #3
    Junior Member
    Join Date
    Sep 2002
    Posts
    22
    Also check this out...
    I think i solved your problem...
    Attached Files Attached Files

  4. #4
    Fanatic Member TheVader's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam, the Netherlands
    Posts
    871
    With this code Browser2 shows Browser1's links... note that with this code you can't get any page loaded in browser1, because they're automatically loaded browser2. Use a Boolean value or something like that to load pages either in browser1 or in browser2.
    VB Code:
    1. Private Sub WebBrowser1_BeforeNavigate2(ByVal pDisp As Object, URL As Variant, Flags As Variant, TargetFrameName As Variant, PostData As Variant, Headers As Variant, Cancel As Boolean)
    2. Cancel = True
    3. WebBrowser2.Navigate URL
    4. End Sub
    Author for Visual Basic Web Magazine

    My articles on the Web Browser Control:
    Using the Web Browser Control & Using the DHTML Document Object Model

    The examples referenced in the articles can be found here:

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jul 2003
    Posts
    16
    Thank you guys for you help It was very much Needed and now i can finish my program thanks again

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