2010-08-03 4 views

Répondre

1

Je crains que ce n'est pas possible :(C'est là avec le navigateur, vous ne pouvez pas contrôler programatically.

j'avais créé un code vbscript pour désactiver que du registre dans les vieux jours WIN98 mais je belive cela ne fonctionnera pas maintenant:

Sub DisableActiveXWarning() 
Dim SHL 
Dim sReg 

Set SHL = CreateObject ("WScript.Shell") 

sReg = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0\1201" 

If SHL.RegRead (sReg) = 0 Then 
    MsgBox "ActiveX Warning is already disabled!",vbExclamation 
Else 
    SHL.RegWrite sReg,0,"REG_DWORD" 

    If SHL.RegRead (sReg) = 0 Then 
     MsgBox "The ActiveX Warning was successfully disabled.",vbInformation 
    Else 
     MsgBox "An unknown error has occured !!",vbCritical 
    End If 
End If 
Set SHL = Nothing 
End Sub 
Questions connexes