devxlogo

GetIEOptionsEnabled – Determine whether the IE Options dialog is enabled

GetIEOptionsEnabled – Determine whether the IE Options dialog is enabled

' Determine whether the IE Options dialog is enabled' Note: requires the GetRegistryValue routine, you can find it in the CodeBank' Example:'   MsgBox "Options dialog is enabled: " & GetIEOptionsEnabledPublic Function GetIEOptionsEnabled() As Boolean    Const HKEY_CURRENT_USER = &H80000001    GetIEOptionsEnabled = Not CBool(GetRegistryValue(HKEY_CURRENT_USER, _        "SoftwarePoliciesMicrosoftInternet ExplorerRestrictions", _        "NoBrowserOptions"))End Function

devx-admin

Share the Post: