Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called in response to the web view barricade being dismissed by the user.
Syntax
Folder2.DismissedWebViewBarricade()
Parameters
This method has no parameters.
Return value
This method does not return a value.
Remarks
An application calls this method after the user dismisses the web view barricade.
Examples
The following example uses DismissedWebViewBarricade to specify that the web view barricade for the C:\Windows folder has been dismissed. Proper usage is shown for JScript, VBScript, and Visual Basic.
JScript:
<script language="JScript">
function fnFolder2ObjectDismissedWebViewBarricadeJ()
{
var objShell = new ActiveXObject("shell.application");
var objFolder2 = new Object;
objFolder2 = objShell.NameSpace("C:\\WINDOWS");
if (objFolder2 != null)
{
objFolder2.DismissedWebViewBarricade();
}
}
</script>
VBScript:
<script language="VBScript">
function fnFolder2ObjectDismissedWebViewBarricadeVB()
dim objShell
dim objFolder2
set objShell = CreateObject("shell.application")
set objFolder2 = objShell.NameSpace("C:\WINDOWS")
if (not objFolder2 is nothing) then
objFolder2.DismissedWebViewBarricade()
end if
set objFolder2 = nothing
set objShell = nothing
end function
</script>
Visual Basic:
Private Sub btnDismissedWebViewBarricade_Click()
Dim objShell As Shell
Dim objFolder2 As Folder2
Set objShell = New Shell
Set objFolder2 = objShell.NameSpace("C:\WINDOWS")
If (Not objFolder2 Is Nothing) Then
objFolder2.DismissedWebViewBarricade
End If
Set objFolder2 = Nothing
Set objShell = Nothing
End Sub
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
IDL |
|
DLL |
|
See also