hi all
i want to create dynamic string array for example
dim name() as string
names is a global array

in other function i want to initiate the array with the Directory.Getfiles method which returns me string array. how can i do that???
i was told to use collection???
i dont know the collection object - can someone guide me???

mabe to declare

dim names() as new collection
.
.
.

names.add(Directory.Getfiles(strPath, "*.gif"))
..
but this does not work to me