Add reference in MS-Access

kashif.special2005

Registered User.
Local time
Tomorrow, 02:46
Joined
Jan 19, 2011
Messages
19
Hi,

I have a MS-Access Tool for Input Processing, and in this tool below mentioned reference added.

Visual Basic For Applications
Microsoft Access 10.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.5 Library
Microsoft Office XP Web Components
Microsoft Excel 12.0 Object Library
Microsoft DAO 3.6 Object Library
Microsoft Office 12.0 Object Object Library
Micfosoft Office Web Components Function LIbrary
Microsoft Calendar Control 10.0

I want that any user will use this tool automatically added above reference in reference library.

I don’t know how to do this through VBA Automatically.

Please help.

Thanks,
Kashif..
 
Search MS Access help for: Application.References

You will find a limited amount of information, the most pertinent part being:


Setting a Reference from Visual Basic
To set a reference from Visual Basic, you create a new Reference object representing the desired reference. The References collection contains all currently set references.

To create a new Reference object, use either the AddFromFile or AddFromGUID method of the References collection. To remove a Reference object, use the Remove method.
 

Users who are viewing this thread

Back
Top Bottom