BrainDump
  Home arrow BrainDump arrow VBScript: Plain and Simple
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

VBScript: Plain and Simple
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 6
    2007-12-03

    Table of Contents:
  • VBScript: Plain and Simple
  • Writing Our First VBScript
  • Variables...In....Space!
  • Arrays

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    VBScript: Plain and Simple


    (Page 1 of 4 )

    A direct descendant of Visual Basic, VBScript is a scripting language now in its fifth full version. Despite the announcement this year that no new functionality will be added to it, the eleven-year-old language is still useful for a variety of tasks. This article will introduce you to some of the things you can do with it.

    The year was 1996 and Visual Basic sat on a couch watching an episode of The Young and the Restless, stuffing her face with bon-bons. Victor had just proposed to Cassandra, who, unbeknown to Victor, was Victor's sister's third cousin, who was suffering from a horrible case of amnesia, and was pregnant with Victor's fourth-dimensional future self from the year 9000, who it turns out, had also impregnated Victor's own mother, making Victor his own father.

    They were just about to reveal all of this to Victor, who himself was suffering from a rare form of bulimia, when Visual Basic felt a slight cramping in her stomach. The baby, whom she had decided to name Visual Basic Script after its father (who shall remain nameless), wasn't due for another month.

    But nature cannot be stopped, and twenty four hours later, Visual Basic Script, or VBScript as he would come to be known, was born.

    VBScript began life as a limited version scripting language of Visual Basic, targeted at web developers. Within two years of its release, it went from version 1.0 to 5.0 and began to be used by system administrators the world over. In version 5.0, it gained considerable power as Regular Expressions (RegEx), Classes, the With Statement, and some other functionality was added to its repertoire. In 2007 it was noted that no new functionality would be added to the scripting language, though support will still be available as long as Microsoft owns the world.

    So now that we got all the boring stuff out of the way, put away your pillow and open up that case of Jolt Cola. We're about to start the grand tour. 

    Before we begin discussing VBScript I have to ask you some questions though *shines a bright light in your eyes*:

    • Where were you on the night of October fifteenth?
    • Do you have a good understanding of HTML?
    • Do you have a passing knowledge of scripting languages?
    • Do you have a Notepad? (Not the kind you bring to school...the text editor on your computer)

    Even if you didn't answer yes to any of those, I am going to let you read on, because let's face it 1) I need the readership and 2) I think maybe you are smart enough to proceed without all of that, though it certainly wouldn't hurt, particularly the HTML, since that is where we will be placing our VBScript.

    More BrainDump Articles
    More By James Payne


       · Hey, James. That's a nice intro piece. Being a VBS author myself, I understand how...
       · Here we are yet again. Thanks for stopping by and reading yet another masterpiece by...
     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek