Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I find files that contain a control
Message
From
12/12/2000 15:43:11
 
 
To
12/12/2000 15:17:06
Randy Riegel
Zimish Contracting
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00452472
Message ID:
00452499
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform