Is DLL Loaded?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All,
Is there a way in VBA to tell if a DLL is registered?
I have a custom DLL that needs to be loaded for the database to work.
I want the code to check to see if it is already registered, if not, load it.
Using Shell and regsvr32 works great.

Thanks in advance,

Brian Clark
 
You can try to intitate some object in dll, using CreateObject, if you get
an error - then dll is not registered

But still this is not a good idea, all necessary dlls you have to install
and register during setup of your application
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top