I have been using Windows 7 with SP1 and Visual Basic 6 with SP6 on a 64 bit computer.

Just had a hard disk crash. With a new drive, I restored the original software as
delivered when it was purchased plus 119 Microsoft updates plus re-loaded all the
software programs I use, including VB6 and Service Pack 6.

I have written one critical program using the Tree View control in file c:\windows
\Syswow64\MSCOMCTL.OCX.

I opened, in VB6 IDE, the Project/Components menu , scrolled down and
checked the "Microsoft Windows Common Controls 6.0 (SP6)" entry. The
location for this file is shown as "c:\Windows\SYSWOW64\MSCOMCTL .OCX".

After clicking OK, I get a popup saying "Object Library Not Registered".

After seaching the Internet for a solution, I opened the run conmmand and
entered:

cd c:\Windows\SYSWOW64\
regsvr32 MSCOMCTL.OCX

The result is a popup saying "DLLRegisterServer in mscomctl.ocx succeeded."

I also tried:
regtlib.exe MSCOMCTL.OCX
and got the response in the Command window of "Registration of mscomctl.ocx
successful."

Yet, back in VB6 IDE, when I open Project/Component menu and again check
"Microsoft Windows Common Controls 6.0 (SP6)", I get the same message:
"Object Library Not Registered",

So far, I have tried everything I can think of to fix this. Restarting the computer, even re-loaded VB6 and Service Pack 6, etc., etc. Same results.

I am at my wits end on this one. If anyone can offer some advice on what is
wrong or better, how to fix it, I will be very grateful. I really need to get this
program working.

Peter