comctl.ocx 6.0 question

  • Thread starter Thread starter Tcs
  • Start date Start date
T

Tcs

Today I started a new .mdb file. (Until today I had been working on the same
one for months.) When I was in the new one, I checked the References under
Tools. I found that I had to check:

Microsoft DAO 3.6 Object Library

But there is that I believe I need, which I believe contains the progress bar
object(?) that I use. It's name is:

Microsoft Windows Common Controls 6.0 (SP4)

But I can NOT find it to check it. I've downloaded a cab file that contains it,
but I don't know where I should move it before registering it. All I see
regarding instructions is to tell regsvr32 about the "full path". But I don't
want to leave it in the directory to which I downloaded it when I register it,
do I?

BTW - This IS what I'm supposed to do to fix fact that it's missing, right?

Thanks in advance,

Tom

P.S. - I WAS using Windows 2000 when I created my older .mdb, and now I'm
running XP, sp1.
 
Tom,

A good place to store the .ocx file is in C:\WINDOWS\System32 (or
C:\WINNT\System32 if you upgraded form W2K, or whatever your Windows folder
is...). This done, it is a lot easier to register the ActiveX control from
within Access, following menu path Tools > ActiveX Control and clicking on
register, than struggling with regsvr32.

HTH,
Nikos
 
Upon further investigation, I found out that the file I REALLY wanted is named
"mscomctl.ocx". Search found 4 copies on my PC, the first being in
C:\winnt\system32. They are all the same size, with different creation dates.
(I wound up with "comctl32.ocx" because I had done a google search on "Microsoft
Windows Common Controls 6.0 (SP4)". I hadn't noticed the correct "mscomctl.ocx"
name in the bottom of the Tools | References windows.)

Anyway... I'm confused. I did not upgrade this XP machine from w2k. The old
machine was replaced with this Gateway preloaded machine. All I installed was
Office 2k.

In my new mdb, when I go to Tools | ActiveX Controls I do not see "Microsoft
Windows Common Controls 6.0 (SP4)". At all. But I do see "Microsoft
ProgressBar Control 6.0 (SP4)", with the same "mscomctl.ocx" name. And it shows
a path of "C:\winnt\system32".

I used Tools | ActiveX Controls to register this file, but I couldn't get it to
show up in my new mdb. Even after I closed/reopened it.

If my new mdb didn't know about it because it was no longer registered, why
didn't my OLD mdb complain?

I have a faint recollecion of doing _something_ so I could use the progress bar.
(I didn't want to have to make my own or buy one.) If I'm correct, and what I
did that _something_ to was "Microsoft ProgressBar Control 6.0 (SP4)", why do I
not see this name in the Tools | References of my old mdb? Why do I see
"Microsoft Windows Common Controls 6.0 (SP4)"? (They're both "mscomctl.ocx", as
far as I can tell.) Is "Microsoft ProgressBar Control 6.0 (SP4)" the name of
just one control, but "Microsoft Windows Common Controls 6.0 (SP4)" is the name
of the file of _multiple_ controls?

Anyhow, any recommendations on what I do now?

Thanks in advance,

Tom
 
Back
Top