NEW ARTICLES  HOT ARTICLES  TOP RATED  ADD AN ARTICLE  UPDATE AN ARTICLE  GET RATED 
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     SUPPORT     SUGGEST CATEGORY  

How To Use VBScript
28504 Internet Jun 19, 2007 acbuddy How To Use VBScript If you are creating a web site for the first time, then you probably have some knowledge of the HTML programming language. HTML is a fairly simple language to learn, and most beginning web designers are usually self-taught when it comes to using HTML to create a simple web page. HTML provides the style, structure, and formatting for a web site. However, HTML does not actually do anything. It is a static programming language. It does not process anything or make your site interactive, it just sits there and tells the browser how the site should look. So, other programming languages have been created to improve site design and make sites more interactive for the user. One such language that has become extremely important and widely used is VBScript. VBScript is a scripting language. Scripting languages are used to connect diverse pre-existing parts to accomplish a new related task without compiling. Also, scripting languages are interpreted, and are executed faster than a compiling language. VBScript is very versatile and can communicate with other languages effectively. VBScript is a variation of Visual Basic, an event driven programming language invented by Alan Cooper, and later bought and expanded by Microsoft. VBScript is like Javascript in that they are both scripting languages, but at the same time these two languages are indeed different from one another, and most of the syntax is not similar. To use VBScript, you need to put any and all VBScript code in between script tags, with the attribute for the opening script tag being the VBScript text type. This tells the web browser that that code contained within the script tag is VBScript and not ordinary HTML. You can place VBScript programming code in either the head section or the body section of your webpage. VBScript functions are to be placed in the head section so that the functions are loaded before called upon in the body section of the page. VBScript code that is involved in displaying certain elements of the web page immediately upon the loading of the page would go in the body section of the page. As with Javascript, you can define values for certain variables that you plan to use in your VBScript procedures and functions. These would be placed in the head section of the web page. You can also define variables as an array using VBScript. An array would be a variable that has more than one value. When defining each value of a single variable with an array, the name of the variable stays the same, but each value is defined with an index number that is placed in parentheses. Here would be an example of an array for a variable called Random having 3 different values: Random(1) = 12 Random(2) = 72 Random(3) = 45 VBScript has two different types of basic procedures. There are sub procedures and function procedures. Sub procedures can process data and perform an action, but they do not return a value. Function procedures process data and do return a value. There are four different types of conditional statements that VBScript uses. These include if/then, if/else, if/elseif, and select case statements. There are 3 basic looping statements that are utilized by VBScript, including for/next, for each/next, and do/loop. All of these statements are easy to learn and create. Conditional and looping statements are the logic, or the brain behind VBScript. So, if you are new to web design and have become proficient in developing artistically sound, static web pages, you should now move on to creating more complex, interactive web sites with VBScript. You need to create sites that not only display information but react to input received by the user. You can begin to learn VBScript fairly easily through online tutorials, but it might be a good idea to enroll in some courses at a local college or computer programming institute, or perhaps buy a VBScript textbook from a local bookstore. However you learn it, using VBScript effectively is essential for every web designer. Jim Pretin is the owner of http://www.forms4free.com, a service that helps programmers make an HTML form send email to acbuddy

Write a Review   Add to My Favorite   Refer it to Friend   Report Article  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating


Other links owned by this user
The PEG Ratio tells you more about how much a stock is worth than the P/E ratio
Category:

Lipitor has become an immensely popular drug for treating high cholesterol, but it might be hazardous to your health
Category:

If you have a website but do not have your own merchant account, here are some solutions for accepting online payments
Category:

The Federal Government has made great strides in its effort to all but abolish online gambling in the United States
Category:

If you have a website, establishing an affiliate program might be the key to successfully promoting your business without spending money on advertising
Category:

A mutual fund is the solution to portfolio diversification for the novice investor
Category:

Lexapro has become a popular antidepressant, but the side effects it produces has medical professionals questioning its safety
Category:

Using an affiliate program to promote your online business can make you rich even if you are starting with a small advertising budget
Category:

Most novice investors think of bonds as a safe, guaranteed investment, but this is simply not the case
Category:

Try not to fall prey to these online investment scams that have bilked investors out of millions of dollars
Category:

Canadian drugs are unbelievably cheap, but is it legal to buy a prescription from a Canadian based pharmacy?
Category:

Find out why XQuery will become more important as alternative computer platforms become more popular
Category:

If you do not have an umbrella insurance policy to cover your legal liability, you are putting your personal assets at serious risk
Category:

VBScript is perhaps the most important programming language for making web pages dynamic and interactive
Category:

It is difficult to improve your ranking on Google, but first you must understand the criteria they use to decide where to rank your site
Category:

Canadian drugs are unbelievably cheap, but is it legal to buy a prescription from a Canadian based pharmacy?
Category:

Research suggests that the short-term beneifts of taking Lipitor might be outweighed by the long term consequences to your health
Category:

Should Avodart be used to treat hair loss, prostate enlargement, or both
Category:

If you thought you could invest in bonds without any chance of losing money on your investment, think again
Category:

Is homeopathy a bunch of medical hodgepodge or is it perhaps the best form of medicine available?
Category:

Other links at Internet
If you have compeitors for your online store then you need to make sure the visitors to your site are as happy as possible, to do this you need to make sure your site is as usable as possible. The harder your site is to use, the more frustrated your custo
Category:

The SPY Act has been recently passed to give you some control over the spyware that downloads onto your computer without your permission.
Category:

The use of podcasts is a great way to communicate and relay information to your visitors or customers. It is not only a good form of branding yourself, but it is also an excellent way of standing out from the crowd, placing a voice behind your text.
Category:

For the last 10 years I have been using the internet as a source for information, sometimes this is vital information about phone umbers, location of places and breaking news alerts, and sometimes I am just surfing the net in search of some product or
Category:

Some little known free services that eBay provides.
Category:




Site Sponsor
Directory Statistics

Articles: 68309
Categories: 501

Yahoo Entertainment
Valid XHTML 1.0 Transitional   Valid CSS