Orchus Posted December 26, 2014 Posted December 26, 2014 Seasons Greetings I'm trying to hide the menu bar and bookmark bar in IE11 and have this change refresh the IE window that is opened. The DllCall referenced in many places actually don't work on this simple W7Pro64 VM I have. The changes to the Registry do work however. $key = "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MINIE" $reg = RegWrite($key, "LinksBandEnabled", "REG_DWORD", 1) ;INTERNET_OPTION_SETTINGS_CHANGED DllCall( 'wininet.dll', 'uint', 'InternetSetOption', 'ptr', 0, 'dword', 39, 'ptr', 0, 'dword', 0 ) ;INTERNET_OPTION_REFRESH DllCall( 'wininet.dll', 'uint', 'InternetSetOption', 'ptr', 0, 'dword', 37, 'ptr', 0, 'dword', 0 ) Thank you for your thoughts, Antoine If this is obvious or easy to you: Be kind, it's healthier on many levels. Case else: remember on certain things we're all idiots compared with certain people... ;)
Bert Posted December 26, 2014 Posted December 26, 2014 I know you can hide or show command bars with code. Have you googled "IE commandbars"? The Vollatran project My blog: http://www.vollysinterestingshit.com/
Orchus Posted December 26, 2014 Author Posted December 26, 2014 Hi Bert, Yes, I did. That's how I wrote the first of those three lines. Thanks, Antoine If this is obvious or easy to you: Be kind, it's healthier on many levels. Case else: remember on certain things we're all idiots compared with certain people... ;)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now