[THIN] Re: VBScripts

  • From: Martin Stephenson <martin.stephenson@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Thu, 21 Apr 2005 08:24:58 +1000

I thought someone would ask me to back up my claim.  I was going to
say that you couldnt use any WMI functions in Kixtart but I thought I
should read the manual of the latest release first and sure enough, I
discovered you can call WMI functions.  Not that I have tried this in
Kixtart though.  I first used Kixtart in the mid 90's on a Lan Manager
site but by the late 90's had discovered VBScript, which was at the
time streets ahead of Kixtart. (At the time I also recall there was a
bug with the InGroup function of Kixtart that was causing me real
headaches)  Now having browsed the Manual for Kixtart version 4.22 I
can see that it has come a long way since then.

So after browsing the Kixtart Manual and my O'Reilly's VBscript
manual, I have come up with a very short list of functions available
in VBScript which are not (AFAIK) available in Kixtart.

InputBox - displays a dialog box and requests a users input, not just
yes or no.  Quite handy really.

GetTempName - Returns a string containing a valid Windows temporary
filename.  I've used this to generate a temporary data folder that you
know will not already exist, which is quite handy.

IsArray - Indicates whether a variable is an Array.

Mathematical Functions
Log, Sgn, Sin, Sqr, Tan - well I have never used these myself and
there probably not commonly used in VBScript.  I suspect
mathematicians use a language with a far greater range of math
functions.

There are other advantages to VBScript for instance the code is easily
ported to and from Visual Basic (not sure about VB.net though) and
there is a huge number of VB programmers and free source code to tap
into.

As I dont want to start a religious war here, if either product works
for you, then by all means stick with it.

Cheers,
Martin.


On 4/20/05, Braebaum, Neil <Neil.Braebaum@xxxxxxxxxxxxxxxxx> wrote:
> > -----Original Message-----
> > From: thin-bounce@xxxxxxxxxxxxx
> > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Martin Stephenson
> > Sent: 19 April 2005 22:53
> > To: thin@xxxxxxxxxxxxx
> > Subject: [THIN] Re: VBScripts
> >
> > I agree Kixtart is definitely easier to use to write reg
> > keys, particularily binary values but then again theres
> > things you can do in VBscript that you cant do so easily in Kixtart.
> 
> OK, now you've said that, give an example.
> 
> > I posted the URL so that those who don't already know how to
> > write the code have a good reference site.  No slander was
> > intended for those who already know how to write the code.
> 
> I think all Joe meant was that citing that link was perhaps slight
> indicative that you hadn't really read what he was asking.
> 
> Neil
> 
> 
> *****************************************************************************
> This e-mail and its attachments are confidential and are intended for the 
> above named recipient only. If this has come to you in error, please notify 
> the sender immediately and delete this e-mail from your system. You must take 
> no action based on this, nor must you copy or disclose it or any part of its 
> contents to any person or organisation. Statements and opinions contained in 
> this email may not necessarily represent those of Littlewoods. Please note 
> that e-mail communications may be monitored. The registered office of 
> Littlewoods Limited and it's subsidiaries is 100 Old Hall Street, Liverpool, 
> L70 1AB. Registered number of Littlewoods Limited is 262152.
> *****************************************************************************
> 
> This message has been scanned for viruses by BlackSpider MailControl - 
> www.blackspider.com
> ********************************************************
> This Weeks Sponsor: RTO Software TScale
> TScale provides a cost-effective way to improve performance, capacity and 
> stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal 
> Services running Windows NT, 2000 or 2003.
> http://www.rtosoft.com/enter.asp?id)6
> **********************************************************
> Useful Thin Client Computing Links are available at:
> http://thin.net/links.cfm
> ThinWiki community - Excellent SBC Search Capabilities!
> http://www.thinwiki.com
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thin.net/citrixlist.cfm
>
********************************************************
This Weeks Sponsor: RTO Software TScale
TScale provides a cost-effective way to improve performance, capacity and 
stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal 
Services running Windows NT, 2000 or 2003.
http://www.rtosoft.com/enter.asp?id)6
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: