>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
Another option you _could_ use is to pass a parameter to the function telling it where it's classlibrary is.
Or...instead of using the drive letter you could use the volume name instead.
Best bet though is George's idea - build an app (not neccesarily and .EXE) with your func and the classlibrary included then you won't have any problems.
HTH
Will Jones