>Hi
>
>omyfiler=createobject('Filer.FileUtil')
>
>tells me that class Filer.FileUtil is not defined
>
>Yet this executable is running on 30 Win2k pro pcs all with vfpsp5 and win2k sp2 (except the problem machine which is running win2k sp3)
>
>can anyone help please - if I need to add a class what is the correct syntax?
Your syntax seems correct. However, look up the find method in this one:
Modify Form Home()+'tools\filer\filer'
It has this:
#define ERR_NOCLASS_LOC "Could not instantiate the Filer COM object. Check to make sure it is registered properly."
...which means the filer is based on a COM thingy, probably a dll, which needs to be included in the build. Try to locate filer.dll and register it manually on that particular box.