[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VBScript (Windows Scripting Host)


  • To: "Walter Lake" <wlake@xxxxxxxxx>
  • Subject: VBScript (Windows Scripting Host)
  • From: "A.J. Maas" <anthmaas@xxxxxx>
  • Date: Sun, 28 Mar 1999 16:48:02 -0500 (EST)

PureBytes Links

Trading Reference Links

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2014.210" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT 
size=2><!--TOOLBAR_START--><!--TOOLBAR_EXEMPT--><!--TOOLBAR_END--><FONT 
face="Verdana, Arial, Helvetica" size=2><FONT face=Arial>&gt;Hi 
Ton<BR>&gt;<BR>&gt;How do I do this?<BR>&gt;What is VBScript?<BR>&gt;<BR>&gt;I'm 
just at the basics -- VB and VBA.</FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>Microsoft® Visual 
Basic® Scripting Edition, is a subset of the Microsoft® Visual Basic® 
programming<BR>language-family, that is a fast, portable, lightweight 
interpreter for use in World Wide Web browsers<BR>(eg IE 3.0/4.0/5.0) and 
browsing enabled Operating Systems (like Windows98, WinNT4.0) and in 
other<BR>applications that use the Microsoft® ActiveX® Controls, Automation 
servers, and Java applets.</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>VBScript®&nbsp; 
therefore, is the "new" very powerfull Windows-OS (9.x + NT) environment 
automation Tool,</FONT></FONT></DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>eg much like 
what&nbsp;</FONT></FONT><FONT face="Verdana, Arial, Helvetica"><FONT 
face=Arial>VBA is to&nbsp;</FONT></FONT><FONT 
face="Verdana, Arial, Helvetica"><FONT face=Arial>(an) Application, yet more 
powerfull&nbsp;(not Application </FONT></FONT><FONT 
face="Verdana, Arial, Helvetica"><FONT face=Arial>dependend as 
VBA)</FONT></FONT></DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>yet slightly 
limited(VBA is especialy written for that one(1) particular Application, whereas 
VBScript</FONT></FONT></DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>thrives best in 
Explorers(</FONT></FONT><FONT face="Verdana, Arial, Helvetica"><FONT 
face=Arial>browsers) </FONT></FONT>on the Internet, on an InterNet, on an 
IntraNet, as well as on&nbsp;a Local</DIV>
<DIV>system)&nbsp;<FONT face="Verdana, Arial, Helvetica"><FONT 
face=Arial>and&nbsp;it&nbsp;replaces </FONT></FONT><FONT 
face="Verdana, Arial, Helvetica"><FONT face=Arial>the OS's older DOS&nbsp;Batch 
(limited)&nbsp;automation </FONT></FONT><FONT 
face="Verdana, Arial, Helvetica"><FONT face=Arial>Tool, that was written 
especialy</FONT></FONT></DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>to be used 
</FONT></FONT><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>in the 
DOS6.2/Win3.11 OS's environments, but could not keep up with modern day 
technologies.</FONT></FONT></DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>The&nbsp;batch-file 
executable BAT(=extension) is&nbsp;</FONT></FONT>replaced by the VBS(=extension) 
script-file executable.</DIV>
<DIV>&nbsp;</DIV>
<DIV>VBScript is&nbsp;also FREE available, is included with new IE50 and 
available in/for the other Windows OS's</DIV>
<DIV>(9.x + NT4.0) and also seperatly downloadable from the below Microsoft 
"Scripting" web-site.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Download the VBScript Engines that are included with the new Internet 
Explorer 5.0 (when updating</DIV>
<DIV>to IE50&nbsp;given as the optionaly WSH - Windows Scripting Host)&nbsp;or 
from the website below, and&nbsp;install</DIV>
<DIV>the latest versions of the Microsoft Scripting Engines, that can also be 
used with IE 3.0, IE4.0, IIS 3.0,</DIV>
<DIV>and IIS 4.0 and provides fixes to bugs found in the Version 3.0 
engines.</DIV>
<DIV><A 
href="http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/msdownload/vbscript/scripting.asp"; 
target=_top><B>Install Microsoft Scripting Engines Version 5.0</A></B><BR><FONT 
size=2><A 
href="http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/msdownload/vbscript/scripting.asp";>http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/msdownload/vbscript/scripting.asp</A></FONT></DIV>
<DIV><FONT size=2>(If this link doesn't work, go to the standard <A 
href="http://msdn.microsoft.com/scripting/vbscript/download/";>http://msdn.microsoft.com/scripting/vbscript/download/</A></FONT><FONT 
size=2>&nbsp; </FONT><FONT size=2>or go to the</FONT></DIV>
<DIV><FONT size=2><A 
href="http://msdn.microsoft.com/scripting/wsh/download/";>http://msdn.microsoft.com/scripting/wsh/download/</A>&nbsp; 
site and&nbsp;click the "WSH" Download&nbsp;link).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>-Download the 
VBScript Help-file " vbsdoc.exe " from the Microsoft Scripting Technologies 
site, for</FONT></FONT></DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial>a tremendous 
explanation&nbsp;on </FONT></FONT><FONT face="Verdana, Arial, Helvetica"><FONT 
face=Arial>VBScript, part </FONT></FONT><FONT 
face="Verdana, Arial, Helvetica"><FONT face=Arial>of&nbsp;</FONT></FONT>the 
Windows Script Languages-family.</DIV>
<DIV>(With the VB power very easy replacing the old DOS Batch Language, and in a 
much more user-friendly way).</FONT></FONT><FONT 
face="Verdana, Arial, Helvetica"><FONT face=Arial></FONT></FONT></DIV></DIV>
<DIV><A 
href="http://msdn.microsoft.com/scripting/vbscript/download/vbsdoc.exe";>http://msdn.microsoft.com/scripting/vbscript/download/vbsdoc.exe</A></DIV>
<DIV>(VBSDOC.exe 473KB, for Windows 95 and Windows NT).</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>For more in-depth VBScript details, do also check the "vbstutor.htm" page 
that is included in the above</DIV>
<DIV>"vbsdoc.exe", eg when this "exe" is installed gives the "Vbscrip5.chm" (CHM 
= a Compiled HTML file type)</DIV>
<DIV>file as a luxureous HELP file in&nbsp;folder "C:\Program Files\Microsoft 
Windows Script\VBSdocs\Vbscrip5.chm".</DIV>
<DIV><FONT size=2>Or check the Tutor-part (see below) at the 
excellent&nbsp;Windows Scripting Technologies site</FONT></DIV>
<DIV><FONT face="Verdana, Arial, Helvetica"><FONT face=Arial size=2><A 
href="http://msdn.microsoft.com/scripting/vbscript/beta/doc/vbstutor.htm";>http://msdn.microsoft.com/scripting/vbscript/beta/doc/vbstutor.htm</A></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Knowing from Microsoft official announcement that the WinNT (5.x) will 
succeed the Windows (9.x) operating</DIV>
<DIV>systems as the Windows 2000 Pro (and Small Business Server), eg that for 
the next 10 years or so, the</DIV>
<DIV>Windows environment will still be the (everyone's) main OS, than will 
Equis/MetaStock also join in here, eg</DIV>
<DIV>to provide its users with helpfull&nbsp;VBScripts (examples) to fully 
automate Metastock + Subs program's (daily)</DIV>
<DIV>repetitive tasks and also for any of the other frequent or non-frequent 
returning but very large "tasks"?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Consequently, will the List be able to provide the automation scripts (eg 
the discussioning of), so as for the</DIV>
<DIV>scripts to be there for&nbsp;everyone, eg to be applicable, enjoyable and 
usable?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Why I ask the above?</DIV>
<DIV>In this, like many others on the List and/or as a MetaStock user, I am 
pretty much a VBScript beginner as well.</DIV>
<DIV>Actualy, I have always left VBA (and VB) for what it was, as (at first) it 
went way above my head(and lack of/in</DIV>
<DIV>time prevailed me to further check it out and to learn).</DIV>
<DIV>&nbsp;</DIV>
<DIV>However, the VBScript, as the successor of old DOS Batch and VBA's younger 
brother/sister, is something</DIV>
<DIV>more in my way of (automating) line of thinking(less complicated and more 
direct usable). Actualy, some</DIV>
<DIV>of the functions etc used, are much the equivelant for functions used in 
the MetaStock Formula Language.</DIV>
<DIV>That should also help a lot into a better understanding of how "coding and 
writing" is done in VBScript. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,<BR>Ton Maas<BR><A 
href="mailto:ms-irb@xxxxxx";>ms-irb@xxxxxx</A></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face="Verdana, Arial, Helvetica" 
size=2>&nbsp;&nbsp;</DIV>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
  <TBODY>
  <TR vAlign=top>
    <TD width=360><FONT color=#660033 size=1>Microsoft® Visual Basic® 
      Scripting Edition</FONT><BR><FONT color=#660033 size=5><B>VBScript 
      Tutorial</B></FONT> </TD>
    <TD align=right><FONT size=2>&nbsp;<A 
      href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbstoc.htm">VBScript&nbsp;Language&nbsp;Reference</A>&nbsp;<BR>
      <P></FONT></P></TD></TR></TBODY></TABLE>
<HR noShade SIZE=1>

<BLOCKQUOTE><FONT size=2><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbswhat.htm">What 
  Is VBScript?</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbshtml.htm">Adding 
  VBScript Code to an HTML Page</A> 
  <P></P></BLOCKQUOTE>
<DIV><FONT size=3><B><A name=basics>VBScript Basics</A></B></FONT> </DIV>
<P>
<BLOCKQUOTE><FONT size=2><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbsdatatype.htm">VBScript 
  Data Types</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbsvariables.htm">VBScript 
  Variables</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbsconstants.htm">VBScript 
  Constants</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbsoperators.htm">VBScript 
  Operators</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/VBSConditional.htm">Using 
  Conditional Statements</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/VBSLooping.htm">Looping 
  Through Code</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbsprocedures.htm">VBScript 
  Procedures</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbscodingconventions.htm">VBScript 
  Coding Conventions</A><BR>
  <P></P></BLOCKQUOTE>
<DIV><FONT size=3><B><A name=using>Using VBScript in Internet 
Explorer</A></B></FONT> </DIV>
<P>
<BLOCKQUOTE><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbsfirst.htm">A 
  Simple VBScript Page</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbscntrl.htm">VBScript 
  and Forms</A><BR><A 
  href="file:///C:/Windows/Batches/VBA+VBScript/VBScript/internet/vbsobjs.htm">Using 
  VBScript with Objects</A> 
  <P></P></BLOCKQUOTE>
<HR noShade SIZE=1>

<DIV></FONT><!--COPYRIGHT BEGIN--><A 
href="file:///C:/isapi/gomscom.asp?Target=/misc/cpyright.htm" target=_top>© 1999 
Microsoft Corporation. All rights reserved. Terms of Use</A>. </DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT><FONT face=Arial size=3></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=3>For more information and experiences available from 
qualified and un-qualified users </FONT></FONT><FONT face=Arial size=3>check 
any</FONT></DIV>
<DIV><FONT face=Arial size=3>of the especialy by Microsoft set-up News 
Groups:</FONT></DIV>
<DIV><FONT face=Arial size=3><BR>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=3>(Here I am using a seperate identity named News, eg 
to separate my News-mails from my Mail-mails)</FONT></DIV>
<DIV><FONT face=Arial size=3>-In OE50 click File|Identities|Add new 
Identity<BR>-Create this new identity called News<BR>Whilst still logged-in as 
the new News-identity :&nbsp;&nbsp; <BR>-In OE50 create a new 
Account<BR>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Tools|News|Add|News<BR>-In the Add 
New Account-wizard provide the details required<BR>&nbsp;&nbsp;1. for the 
general DUN line-connection used to connect you to your 
ISP<BR>&nbsp;&nbsp;2.-and for the specific connection to the Microsoft 
News-server&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT face=Arial 
size=3>&nbsp; msnews.microsoft.com<BR>-Click Go To (to connect to this 
News-server)<BR>-Subscribe to (either of) the following 
News-groups:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
microsoft.public.scripting.debugger<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
microsoft.public.scripting.scriplets<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
microsoft.public.scripting.vbscript<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
microsoft.public.scripting.wsh</FONT></DIV>
<DIV><FONT face=Arial size=3>-Collect the headers/messages<BR></FONT></DIV>
<DIV><FONT face=Arial size=3>Note:<BR>-That here, you are still logged-in the 
OE50-program as the identity News, and that in the<BR>OE50-program, it is very 
easy to switch identities, eg to log-out and to log-in as the<BR>Main(Default) 
identity, by clicking File|Switch Identities|Main Identity(Default), so as<BR>to 
return to the standard Mail situation<BR>-That if you want to leave the OE50, 
whilst logged-in as News, it is best to switch<BR>identies before closing down 
the program, so the next time you start the OE50-program<BR>again, you will be 
logged-in automaticaly as the Main Identity(Default) and will be in<BR>working 
in the standard Mail situation.&nbsp; </FONT></FONT></DIV></BODY></HTML>
</x-html>From ???@??? Sun Mar 28 17:42:59 1999
Received: from listserv.equis.com (204.246.137.2)
	by mail05.rapidsite.net (RS ver 1.0.2) with SMTP id 8532
	for <neal@xxxxxxxxxxxxx>; Sun, 28 Mar 1999 18:13:43 -0500 (EST)
Received: (from majordom@xxxxxxxxx)
	by listserv.equis.com (8.8.7/8.8.7) id GAA16797
	for metastock-outgoing; Mon, 29 Mar 1999 06:56:23 -0700
X-Authentication-Warning: listserv.equis.com: majordom set sender to owner-metastock@xxxxxxxxxxxxx using -f
Received: from freeze.metastock.com (freeze.metastock.com [204.246.137.5])
	by listserv.equis.com (8.8.7/8.8.7) with ESMTP id GAA16794
	for <metastock@xxxxxxxxxxxxxxxxxx>; Mon, 29 Mar 1999 06:56:20 -0700
Received: from dfw-ix12.ix.netcom.com (dfw-ix12.ix.netcom.com [206.214.98.12])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id PAA07289
	for <metastock@xxxxxxxxxxxxx>; Sun, 28 Mar 1999 15:49:49 -0700 (MST)
Received: (from smap@xxxxxxxxx)
          by dfw-ix12.ix.netcom.com (8.8.4/8.8.4)
	  id QAA11769 for <metastock@xxxxxxxxxxxxx>; Sun, 28 Mar 1999 16:37:42 -0600 (CST)
Received: from unknown(216.77.1.178) by dfw-ix12.ix.netcom.com via smap (V1.3)
	id rma011733; Sun Mar 28 16:37:18 1999
Message-ID: <36FEAF18.4F10500D@xxxxxxxxx>
Date: Sun, 28 Mar 1999 17:37:12 -0500
From: John Manasco <jmanasco@xxxxxxxxx>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: metastock@xxxxxxxxxxxxx
Subject: Re: Options Short Term Interest
References: <001101be7955$ce17cd40$488c15cf@xxxxxx>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
X-Loop-Detect: 1
X-UIDL: fbd1e792fa6ed636ab74037b39a641f8.9e

Who pays interest on option implied volatility?

John Manasco

> Animal wrote:
> 
> I use Signal for quotes.  Can anyone advise which symbol I should use
> to get the daily short term interest rate for option implied
> volatility.
> 
> Thanks