Current Position:Home > OLE error code in Windows 8.1

OLE error code in Windows 8.1

Update:10-11Source: network consolidation
Advertisement
Good day,
I tried to run vfp8 compiled executable file on windows 8.1, then i got this error...
"OLE error code 0x80040154: Unknown COM status code. Ole object is being ignored. Record number 6."
I have tried to read through similar issues but could not find my way out.
kindly help. Thanks
--- Gabriel Oladoyinbo Senior Consultant http://topmarkservices.net

The Best Answer

Advertisement
It's not sufficient to simply add the missing file, activex need registering.
Your SCX knows what file it uses in it's OLE2 column.
USE your.scx
BROWSE FOR !EMPTY(Ole2)
Look inside.
And you better not only include that file in your setup, you also set it's properties so the setup registers it. And you better look out for a merge module installing an AcitveX and dependencies.
The properties of files you add to the installer project also have a COM settings tag, which includes Scan at Build, that scans for dependencies. Setting that for your EXE will make Installshield Express look out for any COM dependencies your EXE has and
will result in build warnings at least.
Bye, Olaf.
Olaf Doschke - TMN Systemberatung GmbH
http://www.tmn-systemberatung.de