Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I include the MSCOMT2.OCX in my project?
Message
 
À
12/05/2000 21:11:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00369297
Message ID:
00369314
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform