>>>Is there a way to determine all the classes from the libraries that are actually used in the forms? Or just
a form if that simplifies it? I am reviewing an app that has numerous libraries and subsequent classes and would like to know which ones were used and which are just there to encumber my documentation of the project. Thanks!
>>>
>>>Regards, Renoir
>>
>>The simplest way would be to remove all classlibs from the project and recompile it. All direct references would be on Classes tab. Indirect references would not be here...
>>
>>Make back up of the project files first.
>
>Nadya,
>
>That gives me all the class libraries that are used, but also includes all classes contained in those libraries. I need to know which classes are used. For example, if a library contains 50 classes and only 5 are actually referenced by a form (or elsewhere in the project) I want to know those 5.
>
>Renoir
I see... Well, I don't know built in functionality for this... You may try to save your form as a class and check with avcx() function, but I'm not sure.
Another way would be to search by each classname using some utilities, like Erik Moore's SearchString utility. And finally, you can open scx as a table and check class field (this would not be enough, but gives you the list of classes, which are surely used).
If it's not broken, fix it until it is.
My Blog