Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can you know the name of the ActiveX File?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00350046
Message ID:
00350622
Views:
25
Here are 3 methods to do it:

1. Open the form and click on your ActiveX object. Look in the Properties window at the OleClass property. This is
the ProgID of the control. Open the RegEdit program and do a search on that ProgID in the HKEY_CLASSES_ROOT
hive. You will find a GUID entry that has that ProgID. Look at the value of the InprocServer32 key under the same GUID.
This is the file that implements your control.

2. By opening the scx file as a table (using USE).

USE MyForm.scx
BROWSE FOR "MyObjectName" $ ObjName && Case sensitive

Open the Ole2 field. It contains the name of the file.

3. Open the OleView program. In the left tree view window, go to Object Classes/All objects. Scroll to the control you're
looking for. Click on it. In the right window, under InprocServer32, is the name of the file.

In particular, the MS Progressbar may be in the COMCTL32.ocx or MSCOMCTL.ocx, depending on the version you're
using.

Vlad


>I am using the MS ProgressBar, v 5.0 (SP2) ActiveX in my code but I cannot find the name of the .OCX file. How can I find out what is the name of the file?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform