missing references cls Trayicon.ocx

J

jimmy the lost

when i tried open my file in microsoft access 2007 , there is any error
appear on the screen " Your microsoft office access database or project
contains a missing or broken reference to the file "clsTrayicon.ocx" version
3.0 .

please help ....... thanks
 
G

golfinray

Go into the visual basic editor, click on tools/references and find the
reference you need.
 
T

Tony Toews [MVP]

jimmy the lost said:
when i tried open my file in microsoft access 2007 , there is any error
appear on the screen " Your microsoft office access database or project
contains a missing or broken reference to the file "clsTrayicon.ocx" version
3.0 .

Are you using that OCX? If not then remove it and compile to see if
it is being used anywhere.

Ctrl+G will take you into the Debug/Immediate window. Then click on
Tools on the menu bar and References.

Sub ViewReferenceDetails()

Dim ref As Reference

For Each ref In Access.References
Debug.Print ref.Name & " - " & ref.Major & "." & ref.Minor & "
- " & ref.FullPath
Next ref

End Sub

For a very detailed page on reference problems see
http://www.accessmvp.com/djsteele/AccessReferenceErrors.html

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 

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