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)
Each record in a table contains certain information, separated by columns. For example, a dating website where people can post their profiles would probably consist of a table holding a record of each person who has a membership.

What Is XML DOM? (2)
Now that you understand how and why programming was changed, you are ready for a brief introduction to the main topic of this article, XML DOM. DOM stands for Document Object Model.

What Is WSDL? (3)
WSDL is an extremely important specification. For those of you who design web sites for a living, especially if you create interactive sites that are connected to web services, you need to understand how to implement these types of files.

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)
In a nutshell, XML was created to deal with the fact that so many different electronic products now come equipped with access to the internet and email. These new devices run on platforms that do not always display data properly if it is coded using HTML.

What Is SOAP? (6)
Therefore, SOAP is a very important feature of internet applications development. Without it, it would be difficult to develop websites capable of communicating with other servers in order to retrieve valuable information from a database or other application and send it back to the user.

Is Pay-Per-Click Worth It? (7)
Instead, you should bid on the phrase "Buy Vitamin A." In this manner, you will only receive qualified traffic from people that are looking to buy vitamin A, which will increase your sales and allow you to get more bang for your marketing buck.

What Is XML? (8)
XML is a device independent, cross-platform language. This is extremely important, because people are now using a wide variety of gadgets to connect to the internet, as almost every electronic device on the market now comes equipped with email and internet access.

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)
You can usually include a link to your website in the "author description" portion of the article. If your article is submitted to all of these article directories, and then that article spreads over the internet and is posted on other websites, you can receive a tremendous amount of inbound links this way.

Promoting Your MLM With Free Reports And Articles (11)
Use written reports and articles that can help them see what you do, how you do it and what's in it for you. Topics As with any other type of business, you will want to make your topics relevant to the business at hand.

Do You Really Have To Pay For Internet Marketing Knowledge? (12)
Dogs are pack animals, and run together to benefit both the individual and the group. Invest some of your time in finding and participating in a group of IM business owners that are using the power of networking to help each other succeed.

World Methanol Market Acquires New Characteristics (13)
The bulk of carbinol is processed into formaldehyde in order to produce plastic masses, urotropine, and carbamide resins. Methanol can be used to make methyl tertiary-butyl ether (MTBE), an oxygenate which is blended with gasoline to enhance octane and create cleaner burning fuel.

How Affiliate Software Helps You To Succeed In Your Affiliate Business? (14)
Many people do purchase software to manage accounts for them. Especially when their businesses start to take off. Chances are you can do just as good of a job on your own but software will make it go much faster.

10 Tips When Choosing A Web Designer (15)
Remember, your site won't sell itself! 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.

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)
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. You can even track the "conversion rate," or the actual number of sales generated by a given ad.

How To Pick A Good And Reliable Web Host (18)
This way, the dumb things won't work, and the quality of your site will improve dramatically. 11) CGI, server-side scripting, and database access. If your site uses server-side technology to connect to a database, you need a Web host who is set up to do this.

How To Find Web Hosting For Your Internet Business (19)
You wouldn't believe the trouble I had in getting the refund I was due! Before you sign on with a Web host, check them out. Look up their name under your favorite search engine, and see what turns up.

Digital Products Master Resell Rights - Tips To Help You Make Money (20)
One last thing that you want to remember to do is to have a back end strategy that will allow you to pull in repeat customers and residual income. Selling the digital products master resell rights is important but you don't want them to just buy it and move on.

Newer Articles Highlighter:

Introduction To HTML DOM (1)
There is a huge set of predefined objects used by this language. To view the entire list of available objects and their properties, I recommend that you study some simple online tutorials available on sites such as the W3C (World Wide Web Consortium).

What Is XML Schema? (2)
Some countries put the month first, others put the day first, and some put the year first. The XML Schema for date requires that all dates be in YYYY-MM-DD format.

What Is AJAX Programming? (3)
AJAX also uses the Document Object Model (DOM), which is a standard set of objects that can be used to modify web documents. The other components are scripting languages such as JavaScript and VBScript, and it also uses XML, which we have already described.

How To Hire The Right Web Designer (4)
Also, it is very 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 a down payment of 25% - 50% of the total quoted price for the job, with the balance due upon completion.

What Is RSS? (5)
I recommend the World Wide Web Consortium web site (W3C). If you have a web site that contains a lot of content that is updated frequently, using RSS is not an option; it is a necessity.

What Is DTD? (6)
I recommend that you search for tutorials on any major search engine, or perhaps find some courses offline at a local college or computer science institute. If you have never studied XML, XHTML, or XSL before, then you should find a broad-based curriculum of computer programming courses that teach you all of these languages so that you can learn to incorporate them together when you create web sites.

A Brief Introduction To E4X (7)
The client would email me the content for their website, which I would upload to FrontPage, then insert some tags and a template for formatting and layout, add some graphics, and that was it.

What Is DHTML? (8)
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)
For example, if you have set up your form so that the results will be sent to your Yahoo email account, then you need to insert some code into the Formmail file that prevents the form from being submitted unless your Yahoo email account is the recipient.

The Importance Of Link Popularity (11)
For the purposes of this discussion, we are going to talk about what link popularity is, why it is so important, and how to implement a strategy to increase the number of quality inbound links to your website.

Can Anyone Really Make Money Online? (12)
With a pyramid scheme, you are asked to contribute a certain amount of money, and then you are promised a return when new investors make their contribution. Eventually, the pyramid collapses when money owed to the previous investors is more than what can be raised.

A Guide To Internet Marketing (13)
More important than SEO is link popularity. Link popularity is the number of web sites that currently link to your site. The more inbound links you acquire, the higher your search engine ranking will be.

Internet Marketing Made Simple (14)
More important than SEO is link popularity. Link popularity is the number of web sites that currently link to your site. The more inbound links you acquire, the higher your search engine ranking will be.

Website Marketing Made Simple (15)
Some websites have thousands or even millions of sites linking to them, while others might have only 100 or less. The search engines use this as the most important criteria in their search algorithms for determining where a site should be ranked.

An Introduction To Internet Marketing (16)
There are hundreds of different search engines and directories on the internet where you can submit your web site for a listing. This is fairly easy to do. Simply sign up for a monthly submission plan with a credible search engine submission service.

Introduction To Pay Per Click Marketing (17)
Each one of these websites pays a certain fee to Google each time someone clicks through to their site. Each website that uses pay per click (PPC) has to place a bid on how much they are willing to spend per click for a certain keyword.

Do You Need An HTML Form? (18)
Either way, it is important to have an online form so that people have a way to contact you directly through your website. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make free HTML forms.

Improve Your Search Engine Ranking (19)
To increase your link popularity, you will need to submit your website to link exchange directories so that you can swap links with other websites (they will link to you if you agree to link to them).

My Internet Marketing Secrets Revealed (20)
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.


Leave a Comment