Solved

Identifying controls from OCX used in project

Posted on 2002-03-14
1
155 Views
Last Modified: 2010-05-02
I have a reasonably large project which uses the threed32.ocx.

I'd like to find out which of the controls from this OCX are on what forms.

I can identify which forms have the OCX by scanning the frm files for the threed32.ocx but I'm not sure how I can identify occurences of each associated control on the form.
0
Comment
Question by:colindow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 75 total points
ID: 6863911
One dirty way would be to unregister the threed32.ocx, and then open the project and all it's forms. you will get errors and log files around. Then close the project (with NOT saving any of the files), register the threed32.ocx, and reopen the project to ensure that everything is still fine. You can collect the <yourform>.log files to see which controls are in threed32.ocx.

Other option (which takes MUCH MORE time):
you could develop some code reading the .frm files, and comparing the lines where controls are "defined" on the form which ocx they would come from. This list could be either compiled manually, or by code using the typelib objects... but i think that is for some hourse of coding, while my first suggestion is done in "seconds"...

CHeers

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question