CPT 114:  Your Coding Environment


There are many different pieces of software you can use to write your visual basic script.  In this class we will be using software called HTML kit. 

HTML Kit

HTML Kit is free software that you can use to write and test your code.  The nice thing about this software is that it will allow you to test your code without using Internet Explorer.   It helps you with your code but not as much as the first two pieces of software I described above.  The first thing you need to do is download and install the software.  Click this link and save the file to your desktop and install the files.  The program you need to run is called HKSetup.exe.    You can download it for free by  going here: http://www.htmlkit.com/download/ and clicking on the button.  I recommend you save it to your USB drive and to your desktop.  You can run it from your USB drive on any computer it's plugged in to.  Just find where you put it and double click on the file name.  After running it just answer No to all the questions it asks you until you hit the Open File Wizard below at that point the software it will look like this:

Say yes to create an embedded file then click okay to create a new file.

You have things you don't need open so close the "files" window (far right) and the second editor window (middle) which will leave you with the far right window that has html already on the page.  Delete all that text and press the "objects" tab above the html window.  It has a button that has a very small "vb" on it (between the js and lighting bolt buttons.  Press that button and it will place your script tag on the page for you.  On line 2 delete "<!--" and add "Option Explicit".  On line 4 delete " ' --> ".  On line 3 add document.write "Hello World" and then press the "preview" tab at the bottom of the window.  It should look like this:

From now on use HTML kit when writing your code.