Link to home
Start Free TrialLog in
Avatar of steve-e-b
steve-e-b

asked on

Enabling VBScript in IE

Hi,

I've got a problem running VB scripts embedded into a web-page in IE. The script is simply ignored. I've tried the page in IE on my works' computer and it runs fine.

I think IE is ignoring the script because many years ago the 'Install on Demand' pop-up asked me if I'd like to use VB and I hit the 'Never Install any of these Components' button.
So now I'd like to install the VBScript module (I reserve the right to change my mind :o) only to find 'Never' really did mean never.

I can't find the option to enable VB anywhere in IE's Internet Options.
Can anyone point me in the right direction, or is it really a re-install job??!!

cheers,
Steve
Avatar of Asta Cu
Asta Cu
Flag of United States of America image

Perhaps you'll want to download the VB runtime version.  There are some other "issues" though, so will include some informational links for you.

MS02-009 May Cause Incompatibility Problems Between VBScript and Third-Party Applications
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q319847

MS02-009: Incorrect VBScript Handling in Internet Explorer Can Allow Web Pages to Read Local Files
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318089

Other resources as well.  If WindowsUpdate hasn't been checked recently, recommend that highly.

http://search.support.microsoft.com/search/default.aspx?Catalog=LCID%3D1033%26CDID%3DEN-US-KB%26PRODLISTSRC%3DON&withinResults=&QuerySource=gsfxAdvancedSearch_Query&Product=ie600&Queryc=vbscript&Query=vbscript&KeywordType=ALL&maxResults=25&Titles=false&numDays=

Off to work; will check back when I can, if more is needed.

":0) Asta
Avatar of steve-e-b
steve-e-b

ASKER

Hi Asta,

thanks for the info regarding the issues of using Active scripting. It's very un-nerving and the main reason why I disabled VBScripting in the first place.

I have checked the Internet Options - the 'Active scripting' options is enabled. Just to be sure I set all the options in the Security Settings to enabled (minimal security) but the VBScript still refused to run.
It's odd because the JavaScript code in the page does run - which suggests scripting is enabled OK but IE is honouring my request to reject all VBScripts.

Can you give me the URL of a web-page where I can download the VBScripting module manually?
I'm going to try the magic 'upgrade' button and see if that has any affect.

regards,
Steve
Sorry for the delay, Steve, I am (for some reason) not receiving Email Notifs of updates.

I'll check back with you periodically, but here are some links (in the interim) that may help....

http://www.microsoft.com/java/issues/openletter.htm  (interesting, dropped info just this day, but more here)
http://www.microsoft.com/java/download/40fixes.htm

http://java.sun.com/products/

I'm up to my eyeballs at work, but will check back as quickly as I can.

Asta

I'm unclear about your environment, en toto, and what you really need, but this talks about the VB Runtime update, and if needed includes additional info (in the interim)
VBRun60sp5.exe is a self-extracting executable file that installs versions of the Microsoft Visual Basic run-time files required by all applications created with Visual Basic 6.0. The files include the fixes shipped with Visual Studio 6.0 Service Pack 5.
http://www.microsoft.com/downloads/release.asp?releaseid=28337&area=top&ordinal=23

I, as an example, have been working with some APIs (application Interface Programs that rely on Visual Basic, which I don't have installed, so downloaded/installed the runtime versions to facilitate them).

http://www.microsoft.com/downloads/release.asp?releaseid=28337&area=top&ordinal=23

If you are a normal user and this doesn't apply, check the standard WindowsUpdate options for your environment and let me know progress.

Thanks.  Don't want to leave you in the lurch, but unclear when I can return to check your progress, and unclear as to the level of urgency here.

Asta
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebtool/html/msdn_vbsfaq.asp

This is a link with a wealth of information to help you decide applicability to your environment (I hope).

Back to work
":0) Asta
Checking back in... will try again later this afternoon.
Well, I tried the 'Windows Update' option under the 'Tools' menu, but all it did was bring up a blank page on the microsoft web-site. I waited a while to see if the server responded with a download file, but gave up after about 10 minutes.
I'm using a fairly old version of IE (5.0), so it could be that MS have given up supporting upgrades on that.

I've downloaded the VB runtime update. I'll try that out this evening when I get home and let you know if it's worked.

cheers,
Steve
ASKER CERTIFIED SOLUTION
Avatar of Asta Cu
Asta Cu
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In regards to WindowsUpdate not working for you ...

Make sure you've cleared your browser's cache (temporary internet files and offline content and History files); depending on your OS, also recommend running cleanup/scandisk/defrag and rebooting prior to accessing WindowsUpdate to rule out problems like disk space, cross-linked files, etc.  If scandisk isn't an option based on your environment, try chkdsk /f for each hard drive.

Make sure your resolution setting is at least 800x600 (or better).

If the problem accessing WindowsUpdate continues, let us know; we'll pursue further.

Running the Internet Explorer repair tool may also help, in the interim.

Troubleshooting Windows Update Connection and Download Problems
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q193657

":0) Asta
Thought I gave you these Sun_JAVA Plugin links, but may have missed them.

http://www.sun.com/2002-0214/feature/
http://java.sun.com/getjava/download.html
Okay, here's the story so far ...

I installed the VB run-time update but that had no affect - which makes sense really because the script does run when I double-click it, so I did have the VB engine installed already.

I tried the Windows Update in IE again but with no success - I get forwarded to a blank page and nothing happens.

So I followed your links to the IE updates and patches to update IE manually. I downloaded and installed IE 5.5.
Although the installer trashed all my HTML file settings (I used to be able to right-click and open in NS4, NS6, Opera or IE, but now all I get is the option to open in IE) it did update my browser to 5.5 and I now get the prompt to run the ActiveX control.
Low and behold, the VB script runs in the web-page.

So I guess it really is a re-install job.
Once you refuse to run one ActiveX enhanced page you decline the right to run any ActiveX code in the future.
Not very clever, but there you go - at least it does now work.

Thanks for all the information you provided and your commitment to the message board.
Regards,
  Steve
Not the answer I was hoping for (re-install the browser to get the VB option back) but the accepted answer provides links to the upgrades that, when installed, solve the problem cleanly.
Thank you for letting us know, and for the fine grade.  Happy to have been of help to you.

Troubleshooting is an adventure to parallel few others; often times it isn't just the actual fix itself that solves the problem, but the order of things done.  Wish I could have found a way to solve this for you that would have better aligned to your wishes; but happy nonetheless that it is resolved.

Best of luck,
":0) Asta
Re. this:
Although the installer trashed all my HTML file settings (I used to be able to right-click and open in NS4, NS6, Opera or IE, but now all I get is the option to open in IE)

Somewhere in the process, you likely (inadvertently made IE your default Browser) ...
To configure Internet Explorer as your default Web browser, start Internet Explorer, and then click Yes when the following message is displayed:
Internet Explorer is not currently your default browser. Would you like to make it your default browser?
If you do not want Internet Explorer to be the default browser, click No. To prevent this message from being displayed again, click to clear the Always perform this check when starting up check box before you click No.

More here:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q284456&

I'm using a different version than you, but recall this worked; hopefully will help you restore your settings choices:

To disable Internet Explorer as your default browser:
In IE -> Click Tools -> Internet Options -> Programs tab, then... click to clear the Internet Explorer should check to see whether it is the default browser box.
Click OK, and then quit Internet Explorer

Hope this resolves it, if not, try HELP from within your version of IE and use keyword search default or the like.

":0) Asta