Windows Vista Forums

objExplorer
  1. #1


    James Guest

    objExplorer

    Are there any other attributes for objExplorer other than...

    objExplorer.ToolBar = 0
    objExplorer.MenuBar = 0
    objExplorer.StatusBar = 0
    objExplorer.Resizable = 0
    objExplorer.Width = 370
    objExplorer.Height = 301
    'objExplorer.Left = 0
    'objExplorer.Top = 0
    objExplorer.Visible = 1

    I am looking to: Get rid of the scroll bar completely. Get rid of the
    minimize/maximize/exit buttons in the top right. Get rig of any white space
    surrounding my image file that I am displaying, which I would guess would be
    a padding type issue and to center the window in the middle of the users
    screen no matter what size or resolution they are running. I have done some
    searching, but the above is all I could find. If anyone send me a direct
    link that has more or if you have your own code that shows this I would be
    greatly appreciated.

    James





      My System SpecsSystem Spec

  2. #2


    Tom Lavedas Guest

    Re: objExplorer

    On Aug 27, 1:59*pm, "James" <donotemai...@xxxxxx> wrote:

    > Are there any other attributes for objExplorer other than...
    >
    > objExplorer.ToolBar = 0
    > objExplorer.MenuBar = 0
    > objExplorer.StatusBar = 0
    > objExplorer.Resizable = 0
    > objExplorer.Width = 370
    > objExplorer.Height = 301
    > 'objExplorer.Left = 0
    > 'objExplorer.Top = 0
    > objExplorer.Visible = 1
    >
    > I am looking to: *Get rid of the scroll bar completely. Get rid of the
    > minimize/maximize/exit buttons in the top right. *Get rig of any white space
    > surrounding my image file that I am displaying, which I would guess wouldbe
    > a padding type issue and to center the window in the middle of the users
    > screen no matter what size or resolution they are running. *I have donesome
    > searching, but the above is all I could find. *If anyone send me a direct
    > link that has more or if you have your own code that shows this I would be
    > greatly appreciated.
    >
    > James
    The Internet Explorer title bar and min/max/close buttons are all off
    limits in IE7+.

    The other parameters are NOT part of the browser's properties, but
    rather part of the document contained within the browser's window.
    They can be removed using DHTML code or by applying the proper
    property to the loaded page. If that page is 'about:blank', to remove
    the scroll bar, try adding this line ...

    set oIE = createobject("InternetExplorer.Application")
    oIE.document.body.scroll = "no"

    To add it to the <BODY> tag use ...

    <body scroll=no>

    Padding is ...

    oIE.document.body.style.padding = 0

    To remove the title bar requires either the FULLSCREEN=True statement
    (IE before 7) and then use a statement like

    document.parentwindow.RESIZE newx,newy

    or switch to an HTA, which can be configured without that stuff.

    On line documentation for the DOM (document object model) for DHTML is
    at:
    http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
    _____________________
    Tom Lavedas

      My System SpecsSystem Spec

  3. #3


    James Guest

    Re: objExplorer

    Thanks Tom

    "Tom Lavedas" <tglbatch@xxxxxx> wrote in message
    news:9176b225-6881-4239-854d-bd9f5ce8272d@xxxxxx
    On Aug 27, 1:59 pm, "James" <donotemai...@xxxxxx> wrote:

    > Are there any other attributes for objExplorer other than...
    >
    > objExplorer.ToolBar = 0
    > objExplorer.MenuBar = 0
    > objExplorer.StatusBar = 0
    > objExplorer.Resizable = 0
    > objExplorer.Width = 370
    > objExplorer.Height = 301
    > 'objExplorer.Left = 0
    > 'objExplorer.Top = 0
    > objExplorer.Visible = 1
    >
    > I am looking to: Get rid of the scroll bar completely. Get rid of the
    > minimize/maximize/exit buttons in the top right. Get rig of any white
    > space
    > surrounding my image file that I am displaying, which I would guess would
    > be
    > a padding type issue and to center the window in the middle of the users
    > screen no matter what size or resolution they are running. I have done
    > some
    > searching, but the above is all I could find. If anyone send me a direct
    > link that has more or if you have your own code that shows this I would be
    > greatly appreciated.
    >
    > James
    The Internet Explorer title bar and min/max/close buttons are all off
    limits in IE7+.

    The other parameters are NOT part of the browser's properties, but
    rather part of the document contained within the browser's window.
    They can be removed using DHTML code or by applying the proper
    property to the loaded page. If that page is 'about:blank', to remove
    the scroll bar, try adding this line ...

    set oIE = createobject("InternetExplorer.Application")
    oIE.document.body.scroll = "no"

    To add it to the <BODY> tag use ...

    <body scroll=no>

    Padding is ...

    oIE.document.body.style.padding = 0

    To remove the title bar requires either the FULLSCREEN=True statement
    (IE before 7) and then use a statement like

    document.parentwindow.RESIZE newx,newy

    or switch to an HTA, which can be configured without that stuff.

    On line documentation for the DOM (document object model) for DHTML is
    at:
    http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
    _____________________
    Tom Lavedas



      My System SpecsSystem Spec

objExplorer problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
objExplorer window Joe Blow VB Script 0 05 Jan 2009