>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.