130 likes | 320 Views
Visual Basic Scripting. By Zahra N. Taha. Overview. What is VBScripting? What are Disadvantages/Advantages? How can we use VBScripting? JavaScript vs. Visual Basic Scripting!!!. What is VBScripting. Visual Basic Scripting is a subset of Microsoft’s Visual Basic programming language.
E N D
Visual Basic Scripting By Zahra N. Taha
Overview • What is VBScripting? • What are Disadvantages/Advantages? • How can we use VBScripting? • JavaScript vs. Visual Basic Scripting!!!
What is VBScripting • Visual Basic Scripting is a subset of Microsoft’s Visual Basic programming language. • VBScript processes code that is directly embedded into HTML. • Should not be used as standalone, but instead to enhance your HTML file.
What is VBScript (cont.…) • VBScript is to Internet Explorer as JavaScript is to Netscape. • It’s a great alternative to JavaScript • And I find it easier to learn.
What are the Disadvantages? • Only supported by Internet Explorer • You’ll notice if you opened up http://aurora.wells.edu/~ztaha/MESSEGE.htm in Netscape nothing would happen. • It cant act alone. It needs to be in HTML to enhance the page.
What are the Advantages? • I REPEAT, ITS EASY!!!! • I understood VB Script better than I did JavaScript and they have the same capabilities. • Depending on your preference for browsers. VB Script works with IE and you don’t get the funny “run time errors.”
How Can We Use VBScript • We can use VB Scripting as an easier way to enhance our web pages. • It has the capability of JavaScript but in Internet Explorer. • I will show this through an online component.
Online Component • Message Boxes: • Different Titles on the Box’s interface. • Different Interface Icons. • For Example: • http://aurora.wells.edu/~ztaha/VBSCRIPT.htm
Online Component • Factorials: • JavaScript vs. VB Script • http://aurora.wells.edu/~ztaha/VBSCRIPT.htm • Finish Factorials 1-4 and 6-8…what do you think? Which would you rather work with? JavaScript or VBScript...
In Conclusion... • Remember there is an alternate means of communicating what we’ve done in JavaScript = VB Script. • They have the same capabilities and depending on your style as a web developer, you may or may not like it.
THANK YOU… http://www.intranetjournal.com/corner/wrox/progref/vbt/http://www.w3schools.com/vbscript/default.asphttp://www.geocities.com/SiliconValley/3086/prog/vbscript/http://www.cetus-links.org/oo_vbscript.htmlhttp://tech.irt.org/articles/js117/index.htmhttp://www.li.net/~bgibb/periodic.htmhttp://wsabstract.com/javatutors/vbalert.shtmlhttp://vbscript.myscripting.com/