{"id":1262,"date":"2013-05-21T05:57:41","date_gmt":"2013-05-20T19:57:41","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1262"},"modified":"2013-05-21T05:57:41","modified_gmt":"2013-05-20T19:57:41","slug":"vbscript-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/vbscript-primer-tutorial\/","title":{"rendered":"VBScript Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/VBScript\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"VBScript Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/VBScript\/VBScript_Primer-2of.jpg\" title=\"VBScript Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">VBScript Primer Tutorial<\/p><\/div>\n<p>Here is a tutorial that introduces you to some aspects of VBScript.<\/p>\n<blockquote><p>VBScript (Visual Basic Scripting Edition) is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It is designed as a \u201clightweight\u201d language with a fast interpreter for use in a wide variety of Microsoft environments. VBScript uses the Component Object Model to access elements of the environment within which it is running; for example, the FileSystemObject (FSO) is used to create, read, update and delete files.<\/p>\n<p>VBScript has been installed by default in every desktop release of Microsoft Windows since Windows 98;[1] in Windows Server since Windows NT 4.0 Option Pack;[2] and optionally with Windows CE (depending on the device it is installed on).<\/p>\n<p>A VBScript script must be executed within a host environment, of which there are several provided with Microsoft Windows, including: Windows Script Host (WSH), Internet Explorer (IE), and Internet Information Services (IIS).[3] Additionally, the VBScript hosting environment is embeddable in other programs, through technologies such as the Microsoft Script Control (msscript.ocx).<\/p><\/blockquote>\n<p>I&#8217;ve been curious about VBScript, but have not used it extensively, mainly because cross-browser incompatible code makes me a bit disinterested.   However, the Visual Basic functionality and popularity of Internet Explorer, as a browser, means ignorance is not necessarily bliss.   It can be used as an alternative client side tool, like Javascript, but only for Internet Explorer.   It takes most of its functionality from Visual Basic, but is not VBA, nor is it Camembert &#8230; you might be pleased to know.<\/p>\n<p>Let&#8217;s see some simple <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/VBScript\/'>VBScript<\/a> in action for good old Hello World and showing the current date and time, but not for making toast without you asking in the morning, even though you wanted a chico roll &#8230;<\/p>\n<p>Test drive the tutorial, but do not expect much unless you are using Internet Explorer <a target=_blank title='VBScript idea' href='http:\/\/www.rjmprogramming.com.au\/VBScript\/My_VBScript.html'>here<\/a>.   If you are not using Internet Explorer, and see Hello World, get out the patent book, and fill in the &#8220;Walking on Water&#8221; section.<\/p>\n<p>Link to VBScript information &#8230; <a target=_blank title='VBScript information' href='http:\/\/en.wikipedia.org\/wiki\/VBScript'>from Wikipedia from which quote above comes<\/a>.<br \/>\nLink to VBScript tutorials &#8230; <a target=_blank title='VBScript tutorials' href='http:\/\/www.w3schools.com\/vbscript\/'> at W3Schools<\/a> (the source of this tutorial&#8217;s workings &#8230; thanks, as always).<br \/>\nLink to VBScript &#8220;spiritual home&#8221; &#8230; <a target=_blank title='VBScript tutorials' href='http:\/\/msdn.microsoft.com\/en-us\/library\/t0aew7h6%28v=vs.84%29.aspx'> at Microsoft<\/a>.<br \/>\nLink to some downloadable VBScript code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/VBScript\/My_VBScript.html_GETME' title='Download me'>My_VBScript.html<\/a> for useful use only with Internet Explorer.<br \/>\nLink to some downloadable VBScript programming code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/VBScript\/My_VBScript.php_GETME' title='Download me'>My_VBScript.php<\/a> for useful use only with Internet Explorer.<\/p>\n<p>Favourite V<a target=_blank href='https:\/\/www.youtube.com\/watch?v=9-k5J4RxQdE' title=\"Overture, curtains, lights,&#013;This is it, the night of nights&#013;No more rehearsing and nursing a part&#013;We know every part by heart&#013;Overture, curtains, lights&#013;This is it, you'll hit the heights&#013;And oh what heights we'll hit&#013;On with the show this is it&#013;&#013;Tonight what heights we'll hit&#013;On with the show this is it&#013;\">VBScript<\/a>?!\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1262' onclick='var dv=document.getElementById(\"d1262\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Javascript\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1262' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here is a tutorial that introduces you to some aspects of VBScript. VBScript (Visual Basic Scripting Edition) is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It is designed as a \u201clightweight\u201d language with a &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/vbscript-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[558,576,622,997,1319,1365,1435],"class_list":["post-1262","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-hello-world","tag-html","tag-internet-explorer","tag-programming","tag-tutorial","tag-vbscript","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1262"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=1262"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1262\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=1262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=1262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=1262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}