Table of contents
TOC
Collapse the table of content
Expand the table of content

SharedResources Object (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Represents the collection of shared resources in the database.

Remarks

The SharedResources collection contains Microsoft Office themes and images that are stored once, but used throughout the database.

For example, you may want to display your company logo on every form that you create. In earlier versions of Access, you had to import the logo into every form. In Access, you can add the logo as a shared image. Then , it will be displayed in the Image Gallery that is displayed when you click the Insert Image dropdown menu for the Controls group in the Design tab.

Use the Resources property of the CodeProject object or the Resources property of the CurrentProject object to enumerate the SharedResources collection.

To import an image as a SharedResource object, use the AddSharedImage method of the CodeProject object or the AddSharedImage method of the CurrentProject object.

Properties

Name
Application
Count
Item
Parent

See also

Other resources

Access Object Model Reference

© 2017 Microsoft