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!

VBScript generates ActiveX error on 1 PC!

Status
Not open for further replies.

DotNetNewbie

Programmer
Mar 3, 2004
344
GB
Hi,

I have been running my login script for over a year now without any issues. However recently a single PC is generating an error when the user logs in:

ActiveX component can't create object: 'InternetExplorer.application'

The error relates to a line in the script:

Set MSIE = CreateObject("InternetExplorer.Application")

The user has Internet Explorer 6 at the moment, however they did also install Google Chrome - which has now been removed.

Has anyone else encountered this before? Or have any suggestions on resolving this issue?

Regards,

.net
 
a logonscript generally should have as few external dependancies as possible. You dont want everyone logging calls cause they cant logon because there is / was a problem with applicationX.
its nice for me to say the above but i did end up with 'message of the days' etc which launched .html pages through IE :) (so what the hell am i talking about)
...i guess all that i mean is that the logonscript didnt rely on IE explicitly, i.e. i avoided showing logonscript progress in anything other than the DOS window, management didnt really like that much but tough luck, it was simple, faster and more reliable
i allowed for a text file to be loaded in notepad on failure of IE (it didnt really serve any log term purpose as issues with IE were fairly limited)

havent really helped you i guess, other than a reinstall of Windows Scripting Host, a reinstall of IE? not sure what else to say
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top