>Sorry, I should have noted that I don't want to hard-code the directory in because other people will be using this procedure and the drive won't always be W:
>
Kev,
Then don't. Simply issue the SET CLASSLIB...without the path. In a compiled application, the executable will find the class library without it. At design time, simply add the path to the fox search path.
George
Ubi caritas et amor, deus ibi est