Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable status bar or mouse over function in browser

Status
Not open for further replies.

fairfaxVB

Programmer
Nov 3, 2005
46
US
Hi friends,
Happy New Year!
we have a web application with home index URL in frame structure. My boss does like that users can see page link information in status bar. Otherwise, we do not need to use URL index ( address never change during moving page in application).

Do we have any way to do disable status bar in browser?
FairfaxVB
 
Set appIE = CreateObject("InternetExplorer.Application")
appIE.Height = Me.Height
appIE.Width = Me.Width
appIE.Left = 50
appIE.Top = 50
appIE.ToolBar = False
appIE.StatusBar = False
appIE.Visible = True
appIE.Navigate strFile2Launch

i only know how to do it when you are creating an instance of IE. other than that i can only think that you are talking about modifying a users default IE application settings, in which case are these sorts of 'view' settings held in the registry?
 
This would hide the status bar for an existing IE application.

Code:
Set objIE = nothing
Set objWin = nothing
Set objApp = CreateObject("Shell.Application")
For Each objWin in objApp.Windows
    strName = ""
    On Error Resume Next
    strName = objWin.Name
    If InStr(strName,"Internet") then
        strURL = objWin.LocationURL
        If InStr(strURL,"[URL unfurl="true"]http://www.google.com")[/URL] then
            Set objIE=objWin
            Exit For
        End If
    End If
Next
If objIE is Nothing then
    Wscript.Echo "No Internet Explorer Object"
Else
    objIE.StatusBar = false
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top