Giter Site home page Giter Site logo

vbscalculator's Introduction

VBSCalculator

What is Visual Basic Script

Visual Basic Script or VBScript was created by Microsoft in 1996. It was originally created for Internet Explorer or IE. So this is how we are going to use it. VBScript is disabled by default in IE since August 13, 2019 for windows 7, 8 and 8.1 and July 9, 2019 for windows 10 but can still be used at the time of writing However we do need the use a special meta tag to allow IE 11 to run the VBScript <meta http-equiv="x-ua-compatible" content="IE=10">.

Set-Up Visual Basic Script

There are 2 options for running VBScript.

Option 1: Run in Internet Explorer

First of all you will need to get IE running. If you can simpy run IE and it starts up normally you can skip this step. If your IE starts and immediately closes again and opens Edge you will have to change a setting in Edge.

  • 1
    Open the settings menu in Edge.
  • 2
    Navigate to Default browser.
  • 3
    Change the "Let Internet Explorer open sites in Microsoft Edge" setting to never "Let Internet Explorer open sites in Microsoft Edge" Setting
  • 4
    Now you can run index.html with Internet Explorer.

Option 2: Run in Edge with "Internet Explorer mode"

  • 1
    Open index.html
  • 2
    In the top right you can will see the an icon to switch to "Internet Explorer mode". If you click that Edge will switch to "Internet Explorer mode".
    Icon for Internet Explorer mode

Execute the calculator

After completing one of the options in Set-up Visual Basic Script you will also have to unblock the VBScript. VBScripts are blocked by default in IE 11 and Edges "Internet Explorer mode".
The notice to run the script will look like this:
Script blocked notice After clicking "Allow blocked content" the VBSCalculator will finally execute!

Use the calculator

The Calculator is controlled via IE pop-up boxes that look like this:
IE pop-up box
After all 3 inputs have be filled out the result will appear in the browser.
VBSCalculator result

vbscalculator's People

Contributors

teddy55codes avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.