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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deciphering Compiled EXE Error message 1

Status
Not open for further replies.

ontsjc

Technical User
May 17, 2000
113
Hello again experts. I have an older program that was built in VFP 6 and then later revisions in VFP 7 that my client after six years wants to move from his network to a laptop. He has lost the original install disk I had made (and unfortunately so had I) so I built a new install in VFP 7 and sent to him. Well apparently I have missed a file or missed registering a file because it asks to find an OCX file when he tries to run it. I can't seem to track down what file I've missed, but the error message references Record number 8. How can I decipher Record Number 8 in the compiled exe to figure out at what point the error is being thrown up? The exact error message is:

OLE error code:0x80040154 Class not registered. Class containing the OLE object is being ignored. Record number 8.

I've included all the classes in the build, all original VFP classes have been subclassed, so I'm not sure what is going on here. Of course the exe runs fine on my end.

Thanks for your help.
 
If you know what form the user is trying to run, USE the scx (it's really just a dbf) and GOTO 8. Look at that record to find out what VFP is looking for.
 
You know.....that should have been very obvious. Thank you very much, that is exactly right. Thank you Thank you.
 
Hi There. I came across this thread by googling the error message I am getting from a foxpro database program I am installing on a few new laptops. This is the exact error message I am getting when attempting to upload/download data between the program and a handheld unit. I have ordered these new Dells with XP because the software is not supported on Vista yet. The tech support has not been helpful even after I purchased these with XP. I am able to install on other older XP laptops. I do need to register a file named saxcomm8.ocx to make it work. I have done this on these new Dells but it is not working for me. They are all service pack 2. I do not have the technical background to understand the solution that was provided. I do not know what would be different with these new laptops that would make them not work. Would there be another ocx file that I may need to register? Any help would be greatly appreciated.
 
I'm not sure there is any difference in the service packs for XP that would affect the install. My question was answered for me because I was actually developing the EXE and had access to the original source files to edit. If this isn't the case for you can try making sure all the files from the install are in the execution path. In other words place all or at least a copy of all the files that are installed in the directory where the EXE file is installed. Sometimes this will solve the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top