CED Solutions Home
Search classes by keyword:
Search classes by category:
computer training atlanta
birmingham, alabama


Certification Training Microsoft Comptia Prometric Vue ElementK


Error processing SSI file

VBScript FAQ: Web Scripting with VBScript

VBScript FAQ

  1. What is VBScript?
  2. Which platforms support VBScript?
  3. Which browsers support VBScript?
  4. Where can I get VBScript
  5. Where can I find VBScript documentation?
  6. Is VBScript better than JavaScript?
  7. How do I implement VBScript?
  8. Where should my script be within the document?
  9. How do I make remarks n my code?
  10. How do I declare variables?
  11. What ss the difference between the Dim, Public, and Private statements?
  12. What is the Variant Datatype?
  13. How do I use arrays?
  14. How do I redimension arrays?
  15. What is the difference between a sub-procedure and a function?



What is VBScript?

Microsoft's name for VBScript is "Microsoft® Visual Basic® Scripting Edition," it is a subset of the Microsoft Visual Basic programming language. Visual Basic and VBScript generally require the exact same syntax for basic and essential functions, statements, etc. VBScript is a somewhat simplified version of its superset, Visual Basic, as some prototypes are made easier, you do not have to worry about variable sizes, etc. This is too try and allow optimum web development with minimal programming abilities by the programmer. The main difference between Visual Basic and its subset is that VBScript is limited to the web and is fully integrated with the web browser rather than the operating system. This is purely for security reasons. Nonetheless, VBScript is a very powerful asset because it is geared towards Microsoft web technologies such as ASP and ActiveX.

Which Platforms Support VBScript?

VBScript is supported by Windows 95/98, Windows NT/2000 (including a native version for Alpha), 16-bit Windows, and Unix Solaris. Microsoft is currently working with others to bring VBScript to UNIX versions for HP, Digital, and IBM platforms.

Which Browsers Support VBScript?

VBScript is a trademark of Microsoft Corporation and is only supported by Microsoft Internet Explorer 3.0+ and Microsoft Internet Information Server.

Where Can I Get VBScript

If your VBScript-capable browser does not have VBScript or you would like the latest version of VBScript, then download it at Microsoft's Scripting Engines download site.

Where Can I Find VBScript Documentation?

Microsoft gives you almost everything you need in the way of specifications at their Scripting Technologies web site.

Is VBScript Better Than JavaScript?

Pros and cons... The only con is that you must be using Explorer to see the code execute, which may be annoying for Netscape users that rely on JavaScript. On the other hand, VBScript operates in much the same way as JavaScript as they are both interpreted by the browser. In addition, VBScript can accomplish the same tasks as JavaScript, plus, VBScript (and JScript) may also be applied to Microsoft web technologies like ASP. Generally, VBScript is also easier to learn then JavaScript.

How Do I Implement VBScript?

You use VB Script in exactly the same manner as you would JavaScript. Simply place all code between these tags like so:

 

	<SCRIPT LANGUAGE="VBScript">

	</SCRIPT>

Where should my script be within the document?

Put the script at the beginning of the <HEAD> of the document, not at the end.

How Do I Make Remarks In My Code?

Use the Rem keyword or a single apostrophe ( ' ). If the Rem keyword follows code on a line, it must be separated from the code by a colon. However, when you use an apostrophe, the colon is not required. For example:

		Dim myArray() : Rem Your remark here

A colon is needed because it follows code on the same line.

		For X = 2 to 8  ' Your remark here

No colon is needed for an apostrophe.



Home | Technical Schedule | Application Classes | Class Outlines | MCSE, MCDBA, MCSD Training | Microsoft .NET Programming | Cisco Classes | Linux, Unix, AIX | CompTIA Certification | Webmaster Training | Pricing | Locations | Financing | E-mail Us





Search classes by keyword:
Search classes by category:


computer training atlanta MCSE Atlanta MCSE Georgia MCSE classes MCSE Birmingham MCSE Training MCSE training Atlanta MCSE classes Atlanta MCSE classes Birmingham MCSE classes Alabama Dreamweaver Atlanta Dreamweaver training Atlanta ColdFusion training ColdFusion training Atlanta project training atlanta ColdFusion classes Atlanta ColdFusion classes Georgia Flash training Georgia Flash training Atlanta MCSE boot camps MCSE certification training computer room rentals computer room rentals atlanta computer room rentals birmingham computer training georgia computer training alabama computer training birmingham Crystal Reports training Crystal Reports training atlanta Crystal Reports classes Crystal Reports classes Atlanta Crystal Reports 8.0 training