Sorry. More clarification needed.
Is this the runtime version only or the development version or both?
Is a COM DLL involved in your app?
Main Topics
Browse All TopicsI receive the following error when loading a Foxpro app..
"OLE error code 0x80040154: Class not registered. Class containing OLE object is being ignored. Record number 12"
Any idea which object needs to be registered?
Or any other possible resolution?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks,
I am not very familiar with FoxPro but I'll see if I can get you the info needed.
I am trying to port an existing application onto a new server.
The errors are in the runtime environment.
App was built with VFP5.
I don't know enough to confirm what DLLs the app is using.
Is there an easy way to find a list of referenced DLLs or OCXs?
Thanks,
I am not very familiar with FoxPro but I'll see if I can get you the info needed.
I am trying to port an existing application onto a new server.
The errors are in the runtime environment.
App was built with VFP5.
I don't know enough to confirm what DLLs the app is using.
Is there an easy way to find a list of referenced DLLs or OCXs?
use this link to download the "dependenci walker"
this sofware shows you, what dlls your application needs to run
http://arconline.esri.com/
Zhavic
If the form with the error is called "Form1" then go to the command window and type "use form1.scx"
then type browse
go to the line where it said the error occurred (I think you said it was 7)
scroll across to the ole2 field.
double click the field
It will give you the name of the ole application that is causing problems.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
PAQ/No Refund
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
leonstryker
EE Cleanup Volunteer
I implemented the following function in a FoxPro program:
FUNCTION SyncTime
sGDrivePath = UNCpath("G:")
sServerName = LEFT(sGDrivePath,ATC("\",s
sServerName = LEFT(sServerName,len(sServ
lcCmd = GETENV("ComSpec") + " /C NET TIME "+ sServerName+" /SET /YES"
loShell = CREATEOBJECT("wscript.shel
loShell.Run(lcCmd, 0, .t.)
RETURN .T.
The function is included in the valid event of a combo box. It works fine on operating systems like Win'2K and Win'XP. However, I got the following errors when the same function is called and executed in Win'95 and Win'98:
a) OLE error code 0x80040154: Class not registered
b) Class definition WSCRIPT.SHELL is not found
c) Object LOSHELL is not found
Can somebody assist to advice me on what can I do to resolve the errors that I am encountering in Win'95 and Win'98 ? Thank you in advance then.
Business Accounts
Answer for Membership
by: CarlWarnerPosted on 2003-03-04 at 16:08:43ID: 8068365
Which version of Visual FoxPro?
That error came up under VFP3 but I suppose it can still come up in current versions as well.