|
-
Oct 20th, 2000, 09:18 AM
#1
Thread Starter
Junior Member
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)
-
Oct 20th, 2000, 10:34 AM
#2
New Member
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.
-
Oct 20th, 2000, 11:22 AM
#3
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|