Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving Development project form one PC to another
Message
From
19/06/2001 22:42:06
 
 
To
15/06/2001 22:20:47
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00519112
Message ID:
00521267
Views:
18
>>I have a project that uses the DBI Tech controls. The project was developed on a PC where the controls where installed in \winnnt\system. The project is being moved to a WIN98 PC where the controls are installed and registered in \win98\system. I cannot run or edit the form because of an error locating the activex control. I have drilled through the class library and found that the control is pointing to c:\winnt\system\.ocx. In the OLE2 field of the VCX file.
>>
>>How can do I repoint the control to the registered version without hacking the VCX and storing a copy of the control in the application directory.
>

>
>You may need to reinstall the OCX application on NT PC.
>For example, RealPlayer OCX need you give a Registeration on
>that software before you take the OCX to use.
>
>but you can first try this command to register the ocx after you copy all *.ocx *.oca to NT PC:
>
>regsvr32 ABC.ocx

As it turns out, the base class where the OCX is apart of is corrupt. For some reason, it is not reading the registered version of the OCX, it is looking in the path stored in the objref. I unregistered and deleted the the OCX on the development PC, registered a new version of the OCX and the problem occurs on the development PC. If I copy the old ocx back to the winnt\system directory WITHOUT registering it, everything is fine. If I copy a new version of the control to the winnt\system directory, I get class is not registered.

Bad class definition. I have to rebuild the class.
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Reply
Map
View

Click here to load this message in the networking platform