Login | |
|
 |
Script Problems with IE7 - 7/27/2007 6:46:49 AM
|
|
 |
|
| |
Warren
Posts: 5
Score: 0
Joined: 7/27/2007
Status: offline
|
I have a large and complex VBScript used as a login script that I've developed and enhanced over the last several years that has worked great using IE5 and IE6 to display the results of the script as it executes. The script spawns an instance of IE, turns the address bar, toolbar, statusbar, menubar all OFF and then uses the window to display the company logo, login info for the user and then the results of drive mapping, printer mapping, setting local clock to system time, etc. etc. The window is very clean looking and users love it, not to mention my IT staff for the info it displays. Unfortunately, it appears that IE7 has completely screwed up the way my VBScript works. It doesn't allow me to turn off any of the IE Window components such as the address bar, buttons, menus, etc. despite the fact that I clearly and explicitly stuff for a locally executing VBScript so my display now has all of the things I turned off when instantiating the window. My understandiing is that IE7 expressly disallows turning off the address bar for anti-phishing purposes. This brings up several questions that I hope folks can answer. 1) Is there anyway around this programatically? 2) Are there any other options besides downgrading everyone back to IE6 such as spawning a Firefox or Windows Explorer window rather than an Internet Explorer Window and use it to display the script output? 3) Is there any way to set security so that a locally executing script from within my company Intranet can do away with the address bar, etc. within IE7? 4) Can an IE7 HTA do this ? (Get rid of address bar, menus, toolbar, etc.) If so, can an HTA be used as a login script? 5) Is there a detailed reference of the IE7 DOM available somewhere tailored to use with VBScript? In other words, what has changed, what is restricted, etc.? Any help would be greatly appreciated. Warren
|
|
| |
|
|
|
 |
RE: Script Problems with IE7 - 7/27/2007 3:50:11 PM
|
|
 |
|
| |
dm_4ever
Posts: 2663
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
Shouldn't this ObjExplorer = CreateObject("InternetExplorer.Application") be Set objExplorer = CreateObject("InternetExplorer.Application") and what if you remove this line: objExplorer.FullScreen = 0
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|