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)
Databases generally consist of tables. Tables consist of records. 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)
DOM stands for Document Object Model. XML DOM is both platform and language independent, and sets forth several document objects for XML, as well as the means for accessing and changing XML documents.

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)
So, another way of building forms has evolved in response to this need. The answer is the XForm. XForms provide a superior way to build web-based forms that are richer, more versatile, and device independent.

What Is XSL? (5)
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. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.

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)
Keywords: pay per click, pay-per-click If you've just launched your first website, you'll soon realize that there aren't many realistic ways to drive traffic to your site other than through pay-per-click advertising.

What Is XML? (8)
All of the tags used in HTML have already been defined, such as the paragraph tag, the header tag, and all the various style tags. XML is not defined.

Broadband High Speed Internet: Choosing The Right Service (9)
Provided at the speed of 128 Kbps to 1.0 Mbps, Fractional T1 speed has some of the 24-64 Kbps channels turned off. Prices are approximately $220-$500 per month depending on fractional bandwidth speed required, which includes local loop.

Search Engine Optimization Tips For New Websites (10)
But, if you work diligently and follow all of the procedures outlined in this article, you're likely to get a good ranking and climb steadily towards the top. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.

Promoting Your MLM With Free Reports And Articles (11)
Earn their trust by offering pertinent, timely content designed to do exactly what they need done. Offer some means of interaction so that if there is a question about your report or article, there is a way for you to take those questions and answer them for your website users.

Do You Really Have To Pay For Internet Marketing Knowledge? (12)
Surprisingly, some of the very inexpensive products can deliver exactly what you want and need, without having to mortgage your future. That's the power of being an "insider" - you get the best deals and first rate service because you're a part of the group.

World Methanol Market Acquires New Characteristics (13)
Production of acetic acid remains a major methanol consumption sector. This year may witness augmentation of methanol use as a fuel, since further development of direct-methanol fuel cells is expected (like in new Toshiba's methanol-driven devices demonstrated at CeBIT 2007).

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)
In the UK this includes the Disability Discrimination Act 1995, the Data Protection Act, the EU Freedom of Information Initiative and the Companies Act 2007. 10. Develop a Marketing Plan Your web presence is incomplete without a comprehensive SEO and online marketing plan.

Using Internet Marketing Strategy Can Double Your Sales Overnight (16)
Cliff Posey, owner of CRP Marketing, owns and operates webbusinesstoolsonline.com. Cliff Posey has also operated several other successful web businesses including Love Song Cards and Radio Career Consultants. The content in this article was developed from his experience in these businesses.

Success Basics With Google Adwords (17)
You can also specify certain words you do not want included, so that you don't attract a lot of clicks from people looking for something related that you don't offer.

How To Pick A Good And Reliable Web Host (18)
Shop around, and see what the competitors are offering. Expect to pay between $10 and $25 a month for a typical personal or small business site. Pay less, and your Web host probably makes up the difference by giving you terrible customer support or tacking advertisements onto your site.

How To Find Web Hosting For Your Internet Business (19)
Look up their name under your favorite search engine, and see what turns up. Look for reviews, too. Many of the better Web hosts have lots of positive press.

Digital Products Master Resell Rights - Tips To Help You Make Money (20)
You need to make sure that the graphics that you use are eye catching and look good. Otherwise you may not want to use any graphics. You don't want to change the product image unless you have permission from the original product owner.

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)
Programmers used to rely on Document Type Definition (DTD) to structure their XML documents, but XML Schema is now seen as the permanent replacement for DTD. XML Schema was initially introduced by Microsoft, and was later endorsed and adopted by the World Wide Web Consortium (W3).

What Is AJAX Programming? (3)
AJAX makes use of several components. One component is called Cascading Style Sheets (CSS). CSS is an easy way to create web sites by specifying certain intricacies and style preferences for the page layout as part of a separate file that can then be imported into any HTML document by simple referring to the CSS File.

How To Hire The Right Web Designer (4)
A freelancer will charge a lot less than a professional, but a freelancer might not do a thoroughly competent job. There are numerous website directories that contain a database of freelance web designers who are seeking work.

What Is RSS? (5)
Also, some search engines will rank sites that have organized RSS feeds higher than sites that do not make use of them. A feed is extremely simple to create.

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)
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)
Cascading style sheets specify how elements of a page are to be displayed. A cascading style sheet is normally an external file saved with a .css file extension and is uploaded with the rest of your web pages.

Choosing A Web Designer (9)
Keywords: choosing a web designer, hiring a web designer If you are new to ecommerce, and you need a website for your internet business, you probably have no idea how to go about hiring a web designer or a programmer.

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)
I hope this information will help you with your linking campaign. It can take several years to build a high number of quality, relevant links, but if you are persistent, your efforts will be rewarded in the long run.

Can Anyone Really Make Money Online? (12)
Basically, these surveys are simply a means for collecting your personal information in order to sell it to other companies that are buying leads for telemarketing or for sending bulk email.

A Guide To Internet Marketing (13)
Keywords: internet marketing Promoting a web site is an arduous task. Small business sites do not have the capital necessary to partake in mainstream advertising. However, there are ways to effectively launch a new site without spending millions of dollars.

Internet Marketing Made Simple (14)
If you are not patient enough to wait for your search engine ranking to improve, you can attract visitors to your web site right away by using pay-per-click (PPC). With PPC, you pay a certain cost per click to have an ad for your web page run at or near the top of the search engines.

Website Marketing Made Simple (15)
Just stick with it and your efforts will be rewarded in the long run. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make free HTML forms.

An Introduction To Internet Marketing (16)
There are millions or even billions of websites in cyberspace, all vying for attention. There are many different ways to effectively market your website. For the purposes of our discussion here, we will outline the most practical ways for your launch your internet company without losing your shirt.

Introduction To Pay Per Click Marketing (17)
Once their daily budget has been exhausted, the site is removed from the sponsored results until the beginning of the next 24-hour period. Google is not the only search engine that has a PPC service available.

Do You Need An HTML Form? (18)
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)
Once you pay the initial deposit and the SEO company begins working on your website, they will often optimize your website in such a manner so that you will be able to quickly rise to the top of the rankings for a keyword that is either not significant or will not attract any real traffic to your website.

My Internet Marketing Secrets Revealed (20)
I want to help you inject a little life into your internet marketing efforts so that you can salvage your puny little online business. This article will be brief and simple, but it will put you on the path to success.


Leave a Comment