VBA References

G

Guest

Hi everyone,

I saw an article recently that described how to programmatically check to
see if the users version of Access had then necessary VBA references
(Microsoft Office 10.0 Object Library etc) If the reference was not found,
the code would add it to the users References on startup.

Does anyone know where I can find it or point me in the right direction for
doing it ?

Cheers
Sion Smith
 
D

David Lloyd

Sion:

The following KB article shows how to check and add references in Word.
Access is very similar, using the References collection of the Application
object as well as the AddFromFile method.

http://support.microsoft.com/default.aspx?scid=kb;en-us;308340

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


Hi everyone,

I saw an article recently that described how to programmatically check to
see if the users version of Access had then necessary VBA references
(Microsoft Office 10.0 Object Library etc) If the reference was not found,
the code would add it to the users References on startup.

Does anyone know where I can find it or point me in the right direction for
doing it ?

Cheers
Sion Smith
 

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

Top