I hope I know the way to hide address bar on IExplorer.

  • Thread starter Thread starter keandi
  • Start date Start date
K

keandi

Hello everyone.
I want to know the way to hide address bar on IExplorer by an external
..exe program.
Can I do it?
 
Hi Keandi,

Easy-peasy! To your exe program add a reference to the shwdocvw.dll to
expose the interface.
Enum through the Open IE windows

Dim SWs as New SHDocVw.ShellWindows
Dim IE as SHDocVw.Internet Explorer
For i = SWs.count -1 to 0 Step -1
Set IE = SWs.Item(i)
If Not IE is Nothing then
If IE.FullName Like "*iexplore.exe" then
IE.ShowBrowserBar pvaClsid, false

All you have to do is find the CLSID of the Address Bar. (Hint: search the
registry HKCR/CLSID for a value of Address)

Note that this all changes for IE7. Actually you can also replace the
IE.ShowBrowserBar with IE.AddressBar = false

You will have to do a little research yourself to fully complete this.
Unfortunately there is no such thing as a free lunch.

Regards.
 
Back
Top