Faurot
asked on
(Missing) Microsoft Windows Common Controls-2 6.0(SP4)
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
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
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.
if you can not find it on the Reference window
click Browse and look for
C:\WinNT\System32\mscomct2 .ocx
click Browse and look for
C:\WinNT\System32\mscomct2
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
Tools>References
Uncheck the one with MISSING:{take note of the name}
locate the available references and select