An introduction to vbscript

An Introduction To VBScript

Keywords: 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 www.forms4free.com, a service that helps programmers make email forms.


Previous Articles Highlighter:

Introduction To SQL (1)
SQL is perhaps the most important programming language of the web. After all, the primary reason why we use the internet is to obtain information about a certain topic.

What Is XML DOM? (2)
Now, every wireless gadget is equipped with access to the internet and email. Cell phones, palm tops, laptops, even computer screens in automobiles have web browsers. These gadgets have platforms and web browsers that are very different from what is installed on an ordinary desktop PC.

What Is WSDL? (3)
Message defines the data elements and is akin to the parameters that are used in a function when a function is called. The third element is the types element.

What Are XForms? (4)
XForms are going to become immensely more important as time goes on, because so many different kinds of electronic gadgets that run on different platforms are equipped with internet access, and since XForms use XML, XForms are compatible with most or all of these various devices.

What Is XSL? (5)
Web design was so easy. You could just slap some graphics and text into a file, insert some HTML tags into the document to tell the web browser how the text should appear and what the structure of the page should be, and presto, the job was finished.

What Is SOAP? (6)
And finally, all SOAP messages have a body element which contains call and response information. Some SOAP messages also contain a fault element to communicate error messages, but the fault element is optional.

Is Pay-Per-Click Worth It? (7)
Just make sure that you bid within your budget and use specific keywords or phrases so that you'll receive qualified traffic, and you'll be fine. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.

What Is XML? (8)
The platforms that run on some of these newfangled products and devices are simply not 100% compatible with HTML. XML solves this problem by making sure that the most important data on your website can be displayed across all of these different platforms.

Broadband High Speed Internet: Choosing The Right Service (9)
In comparison, DSL has a speed of 128Kbps to 1.5 Mbps downstream speed. 64 Kbps to 1.5 Mbps upstream speed which is up to 50 times faster than dial up, but one still has to have a landline for DSL.

Search Engine Optimization Tips For New Websites (10)
If your website is about frogs, for example, and you want people searching for "frogs" on Google to find your website in the top position, then your website needs to have the word "frogs" appear more than once or twice.

Promoting Your MLM With Free Reports And Articles (11)
Requesting an email address from the users is a small price to pay for an informational-rich report or newsletter that gives them a lot of content about the very thing they are interested in building.

Do You Really Have To Pay For Internet Marketing Knowledge? (12)
what actually works. You can find plenty of advice that seems to make good sense. The problem is, it's wrong now. It may have worked in the recent past, but a vital change has made it obsolete.

World Methanol Market Acquires New Characteristics (13)
Traditionally the reasonable gas prices in the US have played a significant role in influencing the methyl alcohol prices. With natural gas prices on the rise in the US, setting up mega plants in comparatively low cost regions such as India and sourcing the product to the respective demand regions is a more profitable option.

How Affiliate Software Helps You To Succeed In Your Affiliate Business? (14)
It doesn't cost anything and could save you money if it does what you need it to do. If it doesn't then you can always have it removed and purchase what you need.

10 Tips When Choosing A Web Designer (15)
Ask For Customer References While you are in the process of choosing a Web Design Company, ask them for customer references, preferably with numbers you can call. Talking to past customers will help in knowing more about the designers, their expertise, style of working and respect for deadlines.

Using Internet Marketing Strategy Can Double Your Sales Overnight (16)
This means that you have a success rate of one percent. Not bad. This is the average for both direct mail advertising and Internet advertising. Now that you have this information, you have statistics you can rely on.

Success Basics With Google Adwords (17)
But now that you understand the basics, you should be armed with the information you need to explore one of the most potentially lucrative marketing tools on the internet. Don Fletchinger specializes in teaching other people how to start earning multiple paychecks working from home.

How To Pick A Good And Reliable Web Host (18)
Others do not. Many perfectly reputable and reliable Web hosts charge setup fees. Many do not. Those that don't charge setup fees often make up their money elsewhere, so read the fine print.

How To Find Web Hosting For Your Internet Business (19)
If they don't have what you need or want, work your way down the list. There are companies out there that are fairly reliable, and others that are not, so you need to pick one that offers a reliability guarantee.

Digital Products Master Resell Rights - Tips To Help You Make Money (20)
Selling the digital products master resell rights is important but you don't want them to just buy it and move on. You want them to buy other products from you and you can do this with a list and the back end product.

Newer Articles Highlighter:

Introduction To HTML DOM (1)
Keywords: HTML DOM, Document Object Model Web sites used to be created exclusively with HTML. Formerly, a web site consisted of nothing more than some text and a few HTML tags to provide the structure and formatting for the web page, accompanied by some graphics to provide style.

What Is XML Schema? (2)
If you do not make use of versatile languages such as XML, XSL, and XHTML, your website might be invisible to those who surf the web on wireless devices, and you might be putting your career as a web designer in jeopardy.

What Is AJAX Programming? (3)
The drawbacks are that it can sometimes inhibit the use of the back button on the web browser, and sometimes the code has a problem initiating the response that it has been programmed to produce.

How To Hire The Right Web Designer (4)
How much does it cost? If you need someone to develop a very simple, static website that is merely a personal homepage or just an informational site about your business, then you pretty much have carte blanche.

What Is RSS? (5)
These may be links to articles, or links to certain pages of the web site where new content has been published. These feeds can be used for almost any purpose, such as listing recent company announcements for a company web site, or providing the scores for professional sporting events from the night before (RSS is used on a lot of sport-themed websites in this manner).

What Is DTD? (6)
Many elements of the HTML programming language are not compatible with some of these wireless platforms. As a result, web design has completely changed. Cross-platform programming languages and specifications have been created so that websites can be viewed on any PC or wireless gadget.

A Brief Introduction To E4X (7)
If you have never studied XML, XHTML, XSL, or AJAX, then you need to enroll in some courses at a local computer programming institute immediately. Not knowing how to use these new languages could mean that your web sites will be invisible to wireless internet users.

What Is DHTML? (8)
These wireless gadgets have installed on them web browsers and platforms that are not compatible with many elements of the basic HTML. The object model enables programmers to create documents that are structured in such a way that all web browsers will be able to display the document relatively equally, regardless of what sort of device is being used to view the web page.

Choosing A Web Designer (9)
Always work with a professional if your project requires a certain level of expertise and skill, and make sure they show you some samples of work they have produced in the past.

Issues With Formmail (10)
Some versions of Formmail automatically include this code, some do not. If it does not include this code, you will need to hire a programmer to create it, or visit some free programming message boards and ask someone to help you with it.

The Importance Of Link Popularity (11)
It is possible for a website with a relatively small number of quality, relevant links to be ranked higher than a site with a bunch of nonsensical links. If I have a website that provides mortgage quotes, and I have 800 inbound links, and most of the sites linking to me are quality websites that are related to mortgages or personal finance, then I might receive a much higher search engine ranking than another mortgage site that has 3,000 links that are mostly from link farms or Free For All (FFA) pages.

Can Anyone Really Make Money Online? (12)
At some point, we all have gone on to a search engine to look for get-rich-quick schemes or work-from-home programs. There is a morass of these sorts of opportunities and scams available to you.

A Guide To Internet Marketing (13)
This is undoubtedly the best way to announce your business to the world, but the costs are prohibitive. A full page ad in a prominent magazine or other publication can run as high as $50,000 per ad.

Internet Marketing Made Simple (14)
To recruit affiliates, you should submit your affiliate program to directories where you can list your affiliate program for free or for a small price. The best way to find affiliates is by listing your program on forums or message boards frequented by webmasters who are looking to generate additional revenue for their online business.

Website Marketing Made Simple (15)
This is undoubtedly the best way to market your online business, but the costs are prohibitive. A full page ad in a prominent magazine or other publication can run as high as $50,000 per ad.

An Introduction To Internet Marketing (16)
The best way to find affiliates is by listing your program on forums or message boards visited by webmasters who are looking to generate additional revenue for their online business.

Introduction To Pay Per Click Marketing (17)
Also, you should consider having an affiliate program so that other websites will promote your business for free as long as you pay them a commission for any referrals they produce.

Do You Need An HTML Form? (18)
If you want to learn to do it on your own, then try creating your form with the help of some online tutorials. Either way, it is important to have an online form so that people have a way to contact you directly through your website.

Improve Your Search Engine Ranking (19)
There are quite a few charlatans in cyberspace who work as Search Engine Optimization (SEO) consultants. They will charge you an arm and a leg for their services, sometimes as much as $2,000 per month or more.

My Internet Marketing Secrets Revealed (20)
Simply sign up for a monthly submission plan with a credible search engine submission service. There are literally hundreds of these submission services on the internet; you can find them by performing a search on Google.


Leave a Comment