Forum Moderators: open
i'm trying to start IE with a url to our intranet application, IE should start with not toolbars or menues (but it should not start in full screen mode, just maximize mode), the effect should be same as though was starting with a javascript function that opens up a window.
is there a way to do that?
Dim objIE:Set objIE = WScript.CreateObject ("InternetExplorer.Application")
ObjIE.Toolbar = false
objIE.Navigate "http://localhost:8080"
objIE.Visible = true
however the only problem is that every time i use it, it will open a new browser window under the same Process instance, which means that closing one window (which termintates a session) will effect other windows sharing the same session, this is why we always open our application with IExplore.
what i need is either the ability to open a new process instance each time, or closing the current one and opening a new one.
i thought about maybe changing the title, and using api's to obtains that window title, and closing it, but it's rather complex