Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I have a problem: Error OcxC0000005
Message
From
05/05/2004 19:10:58
 
 
To
05/05/2004 16:20:09
Marci Mendez Bueno
Universidad Autonoma de San Luis Potosí
Ciudad Valles, Mexico
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00901345
Message ID:
00901400
Views:
18
Marco:

>Sorry, my english is not good...
Not a problem. And you can always ask here in the UT in the Spanish VFP section.

>I have a problem with ocx, it's mscal.ocx, i want to registry in Windows 2003 Server, but i can't !!.
>
>The code writing for register component is:
>run /n command.com /k regsvr32.exe "c:\ocx\mscal.ocx" && this code its in method click()
>
>In windows 2000 Pro i don't have a problem, only in Windows2003 Server. The message of error is:
>Error de DllRegisterServer en c:\ocx\mscal.ocx
>Code error: Ocx0000005
>
>well... i writing in button begin/eject: regsvr32 c:\ocx\mscal.ocx, and is not funtionality...


So you want to register the ActiveX component and it works for you in Win2000 but not in Win2003. You get a C005 which is basically a GPF (Windows way of telling you that it has a problem that it cannot deal with).

Some questions:

- Why do you register with RUN /n .... from Click() ? You should register it only once,preferably not from your program but from the installation you create with a program like InstallShield or similar.
- Are you or the using trying this an admin in the problem computer?
- Do you have MS Office installed in that computer?

Here is some information on this problem. Although they refer to Win2K they might help:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;236529
http://www.foxite.com/archives/0000024110.htm


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform