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?
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?
0
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 ...
0
dbruntonCommented:
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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
0

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
0
aikimarkCommented:
Next step is to remove the reference and see if it compiles cleanly
0
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
0
aikimarkCommented:
If you have a clean compile, then any TLIB object use would have to come from a CreateObject() invocation.
0
Jeffrey SmithOwnerAuthor Commented:
There is no (active) CreateObject code in the project now ...

So, am I good to go now?
0
aikimarkCommented:
I should think so.  Have you tested the application?
0
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
0
Jeffrey SmithOwnerAuthor Commented:
Thanks aikimark and dbrunton !
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.