Can't tick library reference for MSCOMCT2.OCX

R

rogge

I have created a MS Access program that references the "Microsoft Common
Controls-2 6.0 (SP 4)" library "MSCOMCT2.OCX". Unfortunately my co-worker
receiving the following error message (he sent this information to me):

The application you are attempting to use has a reference it cannot resolve
to an object, type library, DLL, or external database. Either the object,
type library, DLL, or database was deleted or its name has changed. Examine
the Available references list in the References dialog box in the Visual
Basic Editor (Tools menu) to determine if any action is required. If you did
not create this application, contact the programmer or administrator of the
system.

If the reference listed in the Available references list is preceded with
"MISSING:" clear the check box to remove the reference if it is no longer
required. If you still need to use the reference, clear the check box entry
for "MISSING: <referencename>" in the Available references list, and then
create a new reference to the file using the Browse... button. If this is an
installed database application, you may need to reinstall or repair the
application.
__________________________

I asked that he navigate: ALT-F11 -> Tools -> References
Verify "Microsoft Windows Common Controls-2 6.0" is ticked.
He said that "References" is grayed out...

Any ideas? He did have this problem before..

thank you for your help.
 
D

Douglas J. Steele

Is he dealing with an MDB or MDE? If it's an MDE, he cannot set references.

If it's an MDB, make sure that no code is running when going to Tools |
References. To be certain, open the Run menu and, if it's active, select
End.
 
R

rogge

Doug,
thank you for the info. i can't remember if he is using a MDB or MDE. we
recently updated the program and i know that one is a MDB. we'll see how it
goes.

again, thanks for your help... you advice has always helped me.
 
T

Tony Toews [MVP]

rogge said:
I have created a MS Access program that references the "Microsoft Common
Controls-2 6.0 (SP 4)" library "MSCOMCT2.OCX".

Why are you using it? Most uses of it can be replaced with API calls.

How do you get rid of troublesome ActiveX Controls/references?
http://www.granite.ab.ca/access/referencetroubles.htm

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