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)
Keywords: XML DOM I find myself longing for the old days, when I could design a web site in 5 minutes on a Sunday and then go play golf for the rest of the afternoon, and still collect a full week of salary for services rendered.

What Is WSDL? (3)
The most important new language introduced was XML. XML was a language that defined data without telling the web browser how to display it, as opposed to HTML, which forced data to be displayed a certain way.

What Are XForms? (4)
Now that the internet has been around for a little over 10 years, HTML forms are starting to become outmoded and obsolete. The kind of forms that website owners now want to compose for their websites are so incredibly diverse and complicated that simple HTML code no longer suffices.

What Is XSL? (5)
These different devices run on different platforms and have different web browsers that cannot properly display many elements of the HTML programming language. As a result, it is critical for all web designers to be able to create web pages using cross-platform specifications with the adaptability provided by XSL.

What Is SOAP? (6)
Some SOAP messages also contain a fault element to communicate error messages, but the fault element is optional. The most important part of a SOAP message, the part that does the actual communication work, is the body element.

Is Pay-Per-Click Worth It? (7)
So, if you want to spend $0.50 per click, you can put that bid into their traffic calculator and it will tell you how many clicks you can expect to receive at $0.50 per click and how much that will cost per day.

What Is XML? (8)
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)
T3/DS3 has a broadband speed of 44.736 Mbps digital circuit. It can be dedicated Internet access, point-to-point or integrated. Prices are approx. $5000-15,000 per month plus local loop.

Search Engine Optimization Tips For New Websites (10)
For the other 99.9% of websites that don't do any real advertising offline, there are several ways to obtain a high number of inbound links. One way is to exchange links with other websites, one at a time.

Promoting Your MLM With Free Reports And Articles (11)
Provide your reports on a regular basis such as once a month, once a week, or every two weeks, so that people grow into a habit of coming to visit the site and seeing what you have to offer on a regular basis.

Do You Really Have To Pay For Internet Marketing Knowledge? (12)
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)
In the future, methanol could possibly be the fuel of choice for providing the hydrogen necessary to power fuel cell vehicles. www.MarketPublishers.com is a multilingual hypermarket run by TD The Market Publishers LTD to foster sales, promotion and circulation of market research reports and analytical information.

How Affiliate Software Helps You To Succeed In Your Affiliate Business? (14)
Keywords: Affiliates, affiliate marketing, work at home, home business opportunities Many of us dream of giving up our jobs and working for ourselves. Being your own boss can provide the responsibility level you want as well as the incentive to perform well.

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)
For obvious reasons, this method is much better than a random hit and miss advertising method, which can turn out to be quite costly, not to mention ineffective. Of course, this form of Internet marketing strategy isn't anything new.

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)
Keep in mind: If you offer a total of 1 GB of MP3s on your site, you can exceed 1 GB of bandwidth very quickly. 8) POP3 email accounts.

How To Find Web Hosting For Your Internet Business (19)
A large proportion of companies seem to charge a lot and give standard answers to support questions. The smaller companies are often cheaper and can offer personal support but might not offer the level of support you need or the guarantees of the larger companies.

Digital Products Master Resell Rights - Tips To Help You Make Money (20)
When you don't have a list you will not have as good of a chance of being successful. Why is a list so important for digital products master resell rights?

Newer Articles Highlighter:

Introduction To HTML DOM (1)
With so many different web browsers and platforms on the market, some of which are incompatible with HTML, not using DOM could mean that the web sites you create will appear scrambled or might even be invisible to the user.

What Is XML Schema? (2)
XML Schema and XML programming are not easy to learn. You might want to start by searching for some basic online tutorials, but if web design is your full-time profession, you should instead enroll in some courses offline at a local college or computer programming institute.

What Is AJAX Programming? (3)
Back in 1996, a website could be created in a few minutes by inserting the content into a basic HTML template, and adding some graphics for style. Now, the internet is populated with web sites that are more complex.

How To Hire The Right Web Designer (4)
So, they are typically busy with their other career, and will take a longer time with your project because of time constraints. In the end, the freelancer probably will not give you the design you really want, and will refuse to refund your money.

What Is RSS? (5)
Web sites that are updated on a regular basis, such as news sites or content-driven web sites, can pose a problem for the user. It is cumbersome for the user to have to scan through every page of a web site in order to locate any new information that has been posted.

What Is DTD? (6)
Keywords: DTD, Document Type Definition I have been designing websites since 1996. In the beginning, it was so easy. Someone called me with a project, they sent me the content for their website, which I would then upload to Microsoft Frontpage or a text editor, insert some HTML tags for formatting and some graphics to make the site colorful, and the job was finished.

A Brief Introduction To E4X (7)
Not knowing how to use these new languages could mean that your web sites will be invisible to wireless internet users. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.

What Is DHTML? (8)
To create a DHTML page, HTML 4.0 is used so that the structure of the page can be separated from the content through the use of the second component, style sheets.

Choosing A Web Designer (9)
When the project is complete, the freelancer probably will not provide you the design you really wanted, and will refuse to refund your money. A web designer who is part of a larger company that employs one hundred or more designers is just as bad as a freelancer.

Issues With Formmail (10)
This file processes the HTML form and sends the results to you via email. However, there are a number of things you need to be aware of when creating and installing it on your website.

The Importance Of Link Popularity (11)
Links farms are sites where you can instantly exchange links with all the sites listed in that directory. FFA pages are pointless link directories. The search engines usually discount any links to your site originating from these FFA pages or link farms.

Can Anyone Really Make Money Online? (12)
However, if you join an MLM, you will discover that it is almost impossible to make any sales because the leads you will receive will be unqualified or insufficient, and the people in your downline will not make significant s ales either.

A Guide To Internet Marketing (13)
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.

Internet Marketing Made Simple (14)
I hope this information will help you with your internet marketing efforts. No website can become an overnight sensation; it takes time and effort. But, if you work diligently and follow each of the procedures outlined in the article, you should do fine.

Website Marketing Made Simple (15)
It is not uncommon for webmasters to blow thousands of dollars on PPC advertising and make only a few sales. The best way to promote your site, if you are actually selling something, is through an affiliate program.

An Introduction To Internet Marketing (16)
To recruit affiliates, you should submit your affiliate program to as many directories as possible (there are directories where you can list your affiliate program for free). 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)
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)
There are many different versions of Formmail floating around the internet, and some have built-in spam protection while others do not. Many times, inexperienced programmers will put a form on their website that does not include code to at least try to prevent spammers from utilizing the form to send spam to hundreds or even thousands of people.

Improve Your Search Engine Ranking (19)
They often make dubious claims that they can get you ranked on the first page of the search engines within a few months, and if not, they will kindly refund your money.

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


Leave a Comment