I am trying to write a function for VB 6 which returns an array of every directory in a path. I know that this involves recursive coding, but everything I try returns in error messages and a load of crap.

Anybody who can help me with this, please could you e-mail me @ [email protected]

Many thanks.