Re: security setting for web browser control
- From: "Crevit" <a@a>
- Date: Sat, 23 Dec 2006 09:35:26 +0100
Hi,
I would want to set for the web browser control, the properties
contained in Tools\Internet Option\Security (Protection) ... tab of Internet
Explorer
It exists the APIs that allow me to realize that?
Thanks
Crevit
"Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:eX3D%23xfJHHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
"Crevit" <a@a> wrote in message
news:eYQn$TfJHHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,
How I can to set security properties for web browser control?
Thanks in advance
Crevit
There doesn't seem to be any security properties... what is it you're
trying to secure?
You can prevent people from going to specific sites easily enough.
'=============
Private Sub Command1_Click()
Call WebBrowser1.Navigate2("http://www.microsoft.com")
End Sub
Private Sub Form_Load()
Call WebBrowser1.Navigate2("http://www.vbsight.com")
End Sub
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)
Debug.Print URL
If LCase$(Left$(URL, 25)) = "http://www.microsoft.com/" Then
Me.Caption = "Can't go there " & Timer
Cancel = True
End If
End Sub
'=============
--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm
.
- Follow-Ups:
- Re: security setting for web browser control
- From: MikeD
- Re: security setting for web browser control
- References:
- security setting for web browser control
- From: Crevit
- Re: security setting for web browser control
- From: Ken Halter
- security setting for web browser control
- Prev by Date: Preferred VB COM Development Environment?
- Next by Date: Re: security setting for web browser control
- Previous by thread: Re: security setting for web browser control
- Next by thread: Re: security setting for web browser control
- Index(es):
Relevant Pages
|
Loading