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)
There would likely be a column for height, weight, age, marital status, and other personal information. When someone using that dating website searches for a profile that matches certain criteria that they are looking for in a potential mate, their query is converted into an SQL statement.

What Is XML DOM? (2)
I can barely type this article because my brain literally hurts from all the different programming languages I have swirling around in my head. You might be wondering why my job has become so complicated in recent years.

What Is WSDL? (3)
The second type is request-response, which means the operation can receive a message and return a response. Next is solicit-response, which sends a message and waits for a response, and the fourth type of operation is called notification, which simply sends a message and does not wait for a response.

What Are XForms? (4)
However, XML enables to you define and create your own tags. So, using XML for data definition gives programmers more flexibility for data definition. Data entered into an XForm is stored in an XML document and then transported over the internet using XML.

What Is XSL? (5)
XSL stands for Extensible Stylesheet Language. You have probably heard of Cascading Style Sheets (CSS). CSS is a style sheet language that evolved to make it easier for web designers to create a style for an HTML web page.

What Is SOAP? (6)
An XML file is a simple text file, it does not tell a web browser how to display the contents of the file, it merely defines the data. As a result, the data contained in an XML file can be displayed equally across all platforms, browsers, and machines because every web browser displays a text file the same way, whereas some web browsers, particularly those installed on wireless devices, are not compatible with many elements of the HTML programming language.

Is Pay-Per-Click Worth It? (7)
So, if you're using PPC to get traffic to your website in order to sell something, make sure you bid on a keyword that will bring you customers who are looking to make a purchase and are not there just to glean information.

What Is XML? (8)
XML is not defined. You can make your own tags! So, the question is, why do we need XML? Why do we need a more versatile specification like XML to describe data?

Broadband High Speed Internet: Choosing The Right Service (9)
Satellite broadband has a 400 Kbps speed downstream and upstream speed. A satellite connection can be used when DSL and Cable are not available. Unlike dial-up, satellite is an instant connection; multiple PC's can share the connection, and there is no need for a second phone line.

Search Engine Optimization Tips For New Websites (10)
The reason for this is because of the aforementioned criteria already described in the beginning of this article which also play a part in your ranking (keyword relevance, design, etc.).

Promoting Your MLM With Free Reports And Articles (11)
This implies that you should use well-written articles and research your materials so that you do know exactly what you're talking about prior to providing the material for download. Check your facts, your statistics and make sure that what you write is exactly correct.

Do You Really Have To Pay For Internet Marketing Knowledge? (12)
If you can afford it, pay for it. If you can't, invest your time instead of your rent money. Practically everything you need to know can be had for free on the Internet.

World Methanol Market Acquires New Characteristics (13)
In general, global demand for methyl alcohol is forecast to grow by an average of 2% a year in the coming few years. Then the growth may slow down.

How Affiliate Software Helps You To Succeed In Your Affiliate Business? (14)
It will offer suggestions on how to make your pages more attractive and how to attract more internet traffic to your site. This can all translate into more sales or Ad revenue for you.

10 Tips When Choosing A Web Designer (15)
Jon Boon is the Marketing Director of Forward Slash Media. Find out how Forward Slash Media can help you design & develop your website next to your business. www.forwardslashmedia.co.uk

Using Internet Marketing Strategy Can Double Your Sales Overnight (16)
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. You can test other pages to see if they perform better or worse.

Success Basics With Google Adwords (17)
Second, they can be highly targeted, meaning you can make sure you're only paying for clicks by customers who are sincerely interested. Third, Adwords allows you to run several ad campaigns simultaneously, so you can test the results and experiment on the fly to constantly improve the quality of the ads.

How To Pick A Good And Reliable Web Host (18)
Plus, commercial sites are probably against your ISP's terms of service, and you don't need the hassle of them closing down your site along with your personal email account and Internet connection.

How To Find Web Hosting For Your Internet Business (19)
Once you've selected a style, you can then change the various elements to get your pages looking the way you want. After designing and creating your site, sometimes you may feel unsure where to start and which companies are the best for web hosting.

Digital Products Master Resell Rights - Tips To Help You Make Money (20)
This will mean that most of them are struggling to make money because when someone has seen the same website over and over again they will not want to see it again, which means that they will never buy from the seller using that website.

Newer Articles Highlighter:

Introduction To HTML DOM (1)
Here is an example of Document Object Model code that would be used to define the background color of an HTML document: Document.body.bgcolor In this example, document is the parent object, body is the child, and bgcolor is an attribute of the body object.

What Is XML Schema? (2)
One of the most important features of XML Schema is that it is replete with many different built-in restrictions that can be imposed on all data so that data is consistently displayed a certain way or presented in a certain format.

What Is AJAX Programming? (3)
So, you ask, what is AJAX and how is it connected to this discussion? Well, AJAX is a confluence of all these different programming specifications. AJAX itself is not a language; it is a technique that makes use of all these different components.

How To Hire The Right Web Designer (4)
There are numerous website directories that contain a database of freelance web designers who are seeking work. If you hire one of these individuals, make sure you request to see samples of web designs they have already done, just to make sure they have not done shoddy work in the past.

What Is RSS? (5)
The syntax is not complicated. There are plenty of online tutorials that can teach you how to create one in only a few minutes. I recommend the World Wide Web Consortium web site (W3C).

What Is DTD? (6)
Designing web sites that are cross-platform compatible is a must in the wireless age we now inhabit. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.

A Brief Introduction To E4X (7)
XML data can be viewed on any platform or browser because it is a simple text file with no predefined tags, allowing the programmer to define data any number of ways.

What Is DHTML? (8)
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.

Choosing A Web Designer (9)
Also, it is extremely important to hire a designer who has a contract that you can sign that stipulates certain terms and conditions. You should be able to pay the designer 25% - 50% of the total quoted price up front, with the balance due upon completion.

Issues With Formmail (10)
Because it is possible to send spam through a form if the Formmail file is not created properly and does not authorize only one email address as the recipient, several web hosting companies do not allow their customers to run forms on their sites.

The Importance Of Link Popularity (11)
For example, if a website that sells wheelchairs has 2,000 inbound links, but most of the links are coming from insignificant sites that have nothing to do with wheelchairs, then the search engines might assess a low score for the link popularity of that particular site.

Can Anyone Really Make Money Online? (12)
There is a morass of these sorts of opportunities and scams available to you. For our purposes here, we are going to sift through some of this junk and try to determine whether there is any hope for those of us who truly want to make money with our own online business.

A Guide To Internet Marketing (13)
To optimize a site, you need to maximize keyword density and optimize the positioning for the words or phrases that best characterize the subject matter of your site, and you need to use proper Meta tags so that the search engines can interpret your web pages.

Internet Marketing Made Simple (14)
The best way to promote your site, if you are actually selling something, is through an affiliate program. You need to provide an affiliate code to other online merchants so that they will place your banner on their site; every time you make a sale that resulted from an affiliate referral, the affiliate gets a commission.

Website Marketing Made Simple (15)
Instead, you should focus on advertising and submitting articles to get your site known so that you can get those high quality links you need to climb to the top of the search engines.

An Introduction To Internet Marketing (16)
For the purposes of our discussion here, we will outline the most practical ways for your launch your internet company without losing your shirt. The cornerstone of internet marketing is search engine submission and optimization.

Introduction To Pay Per Click Marketing (17)
It is possible to spend thousands dollars on pay per click and make zero sales of the product or service you are selling. Conversion rates for PPC marketing are usually 2%-5%, meaning that only 2%-5% of the people who come to your website will actually order what you are selling.

Do You Need An HTML Form? (18)
This can be a huge problem. Another problem with Formmail is sometimes it works with certain web hosting companies and not with others. Formmail is written in the PHP programming language, and sometimes certain web hosting companies have certain versions of PHP running on their servers that are not compatible with certain versions of Formmail.

Improve Your Search Engine Ranking (19)
The last step, and probably the most important component of getting ranked higher on the search engines, is increasing your link popularity. The more websites that are linking to your site, the higher your ranking will be.

My Internet Marketing Secrets Revealed (20)
Marketing on the internet is cheaper, and if done correctly, can give you much more bang for your buck. Obviously, the cornerstone of internet marketing is search engine submission and optimization.


Leave a Comment