VBScript support in Internet Explorer 11

Solution 1:

The IE team has been trying to retire VBScript for years.

http://msdn.microsoft.com/en-us/library/windows/apps/Hh700404.aspx indicates that support was removed from the ExecScript API. http://msdn.microsoft.com/en-us/library/ie/dn384057(v=vs.85).aspx explains that it's removed from IE11 Edge mode in the Internet Zone.

If you add the following to your HEAD tag, your VBScript will run:

<meta http-equiv="x-ua-compatible" content="IE=10">

Solution 2:

It actually very simple.

Only IE 10 and older supports VBScript. However you can easy change compatibility mode on IE 11 to IE 10 and it works perfectly fine.

I had the same issue: an old web site developed in 2004 using ASP and VBScript and the following procedure was the solution for me.

In order to change compatibility mode in IE 11 :

  1. Press F12 to open developer tools
  2. In left toolbar scrool down until you see "Emulation" settings page
  3. Change Document Mode from default ("Edge") to 10
  4. Enjoy your VBScript