devxlogo

GetIEFavoritesEnabled – Determine whether IE Favorites menu is enabled

GetIEFavoritesEnabled – Determine whether IE Favorites menu is enabled

' Determine whether the IE Favorites menu item is enabled' Note: requires the GetRegistryValue routine, you can find it in the CodeBank' Example:'   MsgBox "Favorites menu item is enabled: " & GetIEFavoritesEnabledPublic Function GetIEFavoritesEnabled() As Boolean    Const HKEY_CURRENT_USER = &H80000001    GetIEFavoritesEnabled = Not CBool(GetRegistryValue(HKEY_CURRENT_USER, _        "SoftwarePoliciesMicrosoftInternet ExplorerRestrictions", _        "NoFavorites"))End Function

devx-admin

Share the Post: