Results 1 to 3 of 3

Thread: Customizing Internet Explorer

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2000
    Posts
    28
    Hey guys

    I am creating a custom web browser and want to be able to control the pages that a user can go to.

    My problem is some websites will open in new windows. when this happens, the new site opens in an IE window, thus removing any protection that I have implemented in my own browser. How can I stop this from happening?

    Also, is it possible for me to either customize or completely disable the right-click menu in IE? (i.e., The "Open in New Window" option among others)

    I don't want the end users to be able to go to ANY website that is not authorized first through an admin client.

    any help is greatly appreciated. thanks guys. (and gals too)




  2. #2
    New Member
    Join Date
    Sep 2000
    Location
    Belgium
    Posts
    8

    Wink

    For your first question this will be an answer:

    Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)

    Dim f As New frmBrowser
    Set ppDisp = f.WebBrowser1.object
    f.WindowState = 0
    Cancel = False
    f.schow

    Now your new windows open in the same browser you've just made.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2000
    Posts
    28
    fantastic. Thank you Elanor. That has actually fixed both of my problems.

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