I get the error :OLE error code 0x80040154. Class is not registered. I get this error in VFP9.0 application running to convert ESD( easy street darw) diagrams
Yes, you should have an OCX for the specific product that you are using. Check to see if it is present - probably in your Windows / System directory or the directory in which you installed the product.
If you do have that file, it might be that the relevant Registry entry is missing or corrupted. The solution is to run REGSVR32.EXE. This should be present in your VFP directory, among other places. Run it from the command prompt, passing the name and path of the OCX. For example:
There also might not be any OCX, the file type ESD only is associated with the easy street draw software and only it reads and displays ESD images.
Assuming you added an OLE control on your form and the "Insert Object" dialog picked "create from file", that's not giving you the superpower to see file contents in the way software associated with it can display it. The Olecontrol needs an OLE Server, that's an OLE class capable to handle that file. In the simplest case, the ole control will just display the file icon as a Windows Explorer window does when the view is set to icons. And in the worst case, VFP finds some partial type info of such an OLE server, but it isn't registered or not for common use.
Certain OLE servers/classes/controls only work in specific containers. For example, VFP comes with licenses for a few controls you can also redistribute royalty-free, but it's well known that even with such a license the usage is limited. For example, Winsock must be added to a form, you can't use a Winsock instance standalone. See
I have ESD5 (version 5) installed in my system. I export that registry and made as ESD3 ( version 3). Customer don't want to install separate version. So, I am trying to make tweak in registry, using same installation folder access. How to handle this
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.