Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I include the MSCOMT2.OCX in my project?
Message
 
To
12/05/2000 21:11:07
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00369297
Message ID:
00369314
Views:
25
Each OCX must be registered on each PC that will use it. You cannot include it in the VFP project. You must copy it to the client PC and run the command:

REGSVR32 .OCX.

Or simply use the VFP Setup Wizard to do the work for you. You can either copy the OCX to the setup distribution directory or select it from the list of ActiveX Controls in step 2 of the wizard.


>I used the Microsoft Date & Time Picker Control, Version 6.0 in my project, I understand that the DateTimePicker control needs the MSCOMT2.OCX installed in the user's Microsoft Windows System.
>I compiled my project named "Project1.exe" then I installed it to the server. I run project1.exe on one of the workstations, upon opening the form that contains the DateTimePicker control, an (ole error) appeared, I guess the workstation doesn't have a MSCOMT2.OCX installed on its Windows System (am I right?)
>Is there a way to include the MSCOMT2.OCX in the compilation of my project so that all the workstations can run my project without having an ole error?
George
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform