[THIN] Re: OT: VBScript assistance needed

  • From: "Braebaum, Neil" <Neil.Braebaum@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 5 May 2009 09:39:30 +0100

Test objargs.count > 0 to see if anything got passed.
No need for the on error business (at least for that).


        From: thin-bounce@xxxxxxxxxxxxx
[mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Steve Snyder
        Sent: 04 May 2009 23:09
        To: thin@xxxxxxxxxxxxx
        Subject: [THIN] Re: OT: VBScript assistance needed
        alright, new vbscript question
        reading command line arguments ala
        dim objargs
        set objargs = wscript.arguments
        which works fine. But, I want to be able to test whether objargs
got populated or not since if it didn't and I try to reference
objargs(0) I'll get nasty errors. I've tried testing it with isarray,
isempty, isnull, isobject, ubound and they all give the same result
regardless of whether or not the array was populated.
        any ideas?


This email and its attachments are confidential to the intended recipient. If 
this has come to you in error, please notify the sender immediately and delete 
this email from your system. You must take no action based on this email, nor 
must you copy or disclose it or any part of its contents to any person or 
organisation. Please note that email communications may be monitored. The 
registered office of Shop Direct Limited is First Floor, Skyways House, Speke 
Road, Speke, Liverpool, L70 1AB, registered number 04730752.
Subsidiary companies of Shop Direct Limited include:

Shop Direct Group Financial Services Limited (SDGFS), Shop Direct Financial 
Services Limited (SDFS) and Shop Direct Finance Company Limited (SDFC). The 
registered office of SDGFS, SDFS and SDFC is Aintree Innovation Centre, Park 
Lane, Netherton, Bootle, L30 1SL, registered numbers 05200103 (SDGFS), 04730706 
(SDFS) and 04660974 (SDFC). SDFS and SDFC are authorised and regulated by the 
Financial Services Authority in respect of arranging insurance products. 

Shop Direct Contact Centres Limited (SDCC) and Shop Direct Home Shopping 
Limited (SDHS). The registered office of SDCC and SDHS is First Floor, Skyways 
House, Speke Road, Speke, Liverpool, L70 1AB, registered numbers 05330323 
(SDCC), 04663281 (SDHS). 

All companies registered in England.


Other related posts: