Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

vartype 8204

648 views
Skip to first unread message

Al

unread,
Nov 3, 2000, 3:00:00 AM11/3/00
to

I'm setting up a system to administer and check my IIS servers using
vbscript. So far it's working out great except for properties that seem to
have
the vartype of 8204 - such as HttpCustomHeaders, and HttpPics.
Two questions -
How do I compare these datatypes
How do I put data into them
thanks,
al

Tom Lavedas

unread,
Nov 3, 2000, 3:00:00 AM11/3/00
to

A Vartype of 8204 is an array of variants. Any of these will give you
some insight into their contents ...

for I = 0 to Ubound(Your8204Variable)
wscript.echo I, Your8204Variable(I)
Next

or
I = 0
for Item in Your8204Variable
wscript.echo I, Item
I = I + 1
Next

wscript.echo Join(Your8204Variable, ", ")

Any of the values can changed by addressing the desired element as a
member of an array ...

Your8204Variable(2) = NewValue

Tom Lavedas
-----------
http://www.pressroom.com/~tglbatch/

0 new messages