Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I find files that contain a control
Message
De
12/12/2000 15:43:11
 
 
À
12/12/2000 15:17:06
Randy Riegel
Zimish Contracting
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00452472
Message ID:
00452499
Vues:
20
>I have an app written in VFP 6.0 that is going to be run over our network. The EXE will reside on a network drive. I have the MS MonthView control in the app and I need to know which OCX file to register on everyones computer. Is there an easy way to find out which OCX contains a certain control?
>
>Thanks,

On one of the forms with this control, select the control and look in the VFP Properties window - i.e., not the control specific properties sheet.

The OleClass property will have something like this - e.g., a DateTime Picker (since I don't have sp4 yet) - MSComCtl2.DTPicker.2.
Now, run Regedit and look up that value in the registry. It will most likely be found in the HKEY_CLASSES_ROOT\CLSID\ tree under a CLSID entry in the key called ProgID.
There's another key at that same tree level called InprocServer32. Go to that key. The Value in there will show the OCX control - e.g., for the DateTime Picker it's C:\WINNT\System32\MSCOMCT2.OCX.

HTH
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform