Solved

(Missing) Microsoft Windows Common Controls-2 6.0(SP4)

Posted on 2004-09-14
6
12,359 Views
Last Modified: 2012-08-14
While trying to install a database on another computer I get the message "Library not found" when a statement references "date" (a member of VBA.DateTime according to the object browser).

When I check the references on that computer, I find the following:

(Missing) Microsoft Windows Common Controls-2 6.0(SP4)

I have loaded all the service packs but still get the "Library not found" message.

What's up?  What am I missing?

Thanks, Lyle


0
Comment
Question by:Faurot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 12055877
on the VBA window

Tools>References
Uncheck the one with MISSING:{take note of the name}
locate the available references and select
0
 
LVL 41

Expert Comment

by:shanesuebsahakarn
ID: 12055895
The Common Controls OCX used to be part of the Visual Basic Runtime. It's not part of the service packs, but you can transfer it by locating either MSCOMCTL.OCX or COMCTL32.OCX (usualling in Windows/System32) and copying and registering it on the target PC. I think the one you want is MSCOMCTL.OCX, but I couldn't swear to it.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 12055957
if you can not find it on the Reference window
click Browse and look for

C:\WinNT\System32\mscomct2.ocx    
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Faurot
ID: 12056691
Capricorn,

I unchecked the missing reference, then browsed for it as you suggested.  

When I checked the references and checked the one that was needed I noticed it didn't have the (SP4).  

I don't know yet if that is a problem--the program appears to work, but I need to push it a bit to find out if this has solved the problem.

Thanks, Lyle
0
 
LVL 39

Accepted Solution

by:
stevbe earned 250 total points
ID: 12057567
It sounds like you may not even need it ... try unchecking it and then compiling ... this should point to any difficulties. A lot of times libraries get added and never used. The particular error you got had nothing to do with the Common Control, it just happened to get tripped up by it. VBA is usually the first thing to get goofy when Libraries (any one) is MISSING.

Steve
0
 

Author Comment

by:Faurot
ID: 12068228
Steve,

I tried unchecking the reference and the problem hasn't reoccured for about a day now.

This is a useful thing to know--that references may be added for one reason or another, then not unchecked when it turns out they are not needed.

Thanks, Lyle
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question