Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Class Definition FILER.FILEUTIL not found.

Status
Not open for further replies.

Joy Tan

IS-IT--Management
Nov 3, 2020
5
CA
Hi All,

Trying to run filer with VFP9 on a system that doesn't have VFP9 installed.
I tried to register filer.dll, it appears to have done it with regsvr32 /s filer.dll - I place filer.dll in folder c:\windows\syswow64

Ran filer and this error occurred.
An error occurred with filer.
...
Class Definition FILER.FILEUTIL is not found.

Any ideas on how to get this going?

Thank you.
Joy
 
You need to put the DLL in VFP's search path. It should either be in the VFP default directory, or a directory listed in your SET PATH.

According to the Help for Filer:

You can distribute Filer.dll and its companion files, Filer.ico, Filer.scx, and Filer.sct, with your Visual FoxPro run-time applications

That suggests that you also need to distribute the form and the icon. However, you won't need to do that if you are running Filer from your own form. The supplied FILER.SCX is really only a sample.

Also, as far as I know, you don't need to register the DLL.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Hi Mike Lewis and Joy Tan,

Filer.FileUtil is a COM object and needs to be registered. Just look into the filer.scx:
filercom_cnv1gd.png


Code:
regsvr32 /s filer.dll
is not registering it properly, if you don't run it from a cmd.exe that's elevated or from an elevated cmd file or within a setup that runs elevated. You register it into the virtual branch of the registry, where it's not seen by OLE.

So do this:
cpa_4_shyg6b.png

And then run regsvr32 filer.dll or regsvr32 /s filer.dll

Chriss
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top