How to find code that uses Reference to Typelib Information (TLBINF32.DLL)

Hi Experts,

I have a project that I've been working on and off on for months and somewhere along the way, I added a Reference to Typelib Information (TLBINF32.DLL).  At this point, I can't remember why I made the Reference or if I still need it (it might have been a method I decided I didn't need anymore or found a better solution).  My question:, is there a way I can find code in this file that uses this Reference, if any?

I appreciate any insights.

Jeff
LVL 2
Jeffrey SmithOwnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GrahamSkanRetiredCommented:
Why not try running your code without the reference?
Jeffrey SmithOwnerAuthor Commented:
Well, I figured I could do that but there's quite a bit of code in this project and I thought there might be a quicker way ...
dbruntonQuid, Me Anxius Sum?  Illegitimi non carborundum.Commented:
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

aikimarkCommented:
Search for the following string in your VBA code
New TLI.

Open in new window

If you're interested, I used the TLI in an article:
http://www.experts-exchange.com/articles/14015/Iterating-Office-Enumeration-Constants.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jeffrey SmithOwnerAuthor Commented:
Thanks for posting dbrunton and aikimark.

I searched for both "InvokeHook" and "New TLI." and found neither.  

Is it safe to say that whatever code that once relied on the Reference no longer exists in the project now?

Jeff
aikimarkCommented:
Next step is to remove the reference and see if it compiles cleanly
Jeffrey SmithOwnerAuthor Commented:
Ok, aikimark, I have removed the Reference and have a clean compile.  

Does this suggest I am good to go now, or is there a possibility this may come back to haunt me down the road?

Thanks,

Jeff
aikimarkCommented:
If you have a clean compile, then any TLIB object use would have to come from a CreateObject() invocation.
Jeffrey SmithOwnerAuthor Commented:
There is no (active) CreateObject code in the project now ...

So, am I good to go now?
aikimarkCommented:
I should think so.  Have you tested the application?
Jeffrey SmithOwnerAuthor Commented:
I have been using parts of it, and no errors yet, so that's encouraging.

I will go ahead and close this out.

Thanks for your help, aikimark.

Jeff
Jeffrey SmithOwnerAuthor Commented:
Thanks aikimark and dbrunton !
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.