//flex table opened by JP

Click to See Complete Forum and Search --> : Items in a collectoin (VBS)


Michigander
12-10-2001, 07:59 PM
Ok I'm not real familiar with collections unfortunately
Now my question is this, I'm trying to just pull the first file I see in a collection
Can I reference it as collection.Item(0) ??
Or is there another way to do it?
yeah I can pull up a loop, but I only want the first one ... I dont really care which one it is either lol
Just want to work with it, and delete it.

Oh and all I want to return is the full filename including path (path I can generate if need be no big deal) but I need to be able to put the name in a string I dont need a file object, although if need be I can do that as well.

Any clues?