Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...It's fun to see others going through the same stuff I did and be able to help. It's also a way for me to stay sharp and not lose the stuff I've learned..."

Geography

Where in the world do Tek-Tips members come from?
Helpful Member!  HughLerwill (Programmer)
16 Aug 12 9:27
After the update projects including ms common controls 6 (MSCOMCTL.OCX) gave an 'Object library not registered' message during load (into IDE) and all progressbars etc. turned into picture boxes. The 'Object library not registered' message also appeared in a new IDE Project when trying to add the ms common controls 6 (MSCOMCTL.OCX)Component.
So I reverted to the Restore point made before the update and all worked normally again.
Very soon I was prompted to install the banished update again; I did and it was all 'Object library not registered' again.
So I opened C:\Windows\syswow64\ in a admin Command window and did regsrv32 MSCOMCTL.OCX
Which seems to to have fixed it.
Is anyone else having a strange day?
gmmastros (Programmer)
16 Aug 12 10:11
I had the same problem on my computer, but one of my devs didn't have any problems.

I'm running Windows 7, he is running Vista. Maybe this is the difference.

Anyway... your post saved me some time trying to figure this out. Thanks!

-George
Microsoft SQL Server MVP
My Blogs
SQLCop
twitter
"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom

HughLerwill (Programmer)
16 Aug 12 11:26
George - yes I forgot to say I got these probs on W7 64 bit, although strangely my XP machine seems ok.
A bit of Googling turned up this on the topic;
http://answers.microsoft.com/en-us/windows/forum/w...

and this in passing;
http://support.microsoft.com/kb/2708437 - MS12-060: Description of the security update for Visual Basic 6.0 Service Pack 6: August 14, 2012
Any feedback on whether we should go anywhere near this one would be appreciated.
dilettante (MIS)
16 Aug 12 19:12
If you always run the IDE elevated (as you were told to do by Microsoft back when Vista's support for the VB6 IDE was announced in 2006) you wouldn't have this problem.

Way too many people ignored the advice and rely on very poor "boildowns" of the issues like the sadly incomplete and misleading "forty pound head" blog post when installing VB6 into post-XP systems.

Your registry must be a mess of mismatched global and virtualized local component registration.


All of that aside, the big problem will be systems where you have applications deployed. Your development system is only the tip of the iceberg.

Microsoft isn't the company it used to be. In their race to the bottom the cheap employees they hire now create one broken security patch after another.
OrthoDocSoft (Programmer)
3 Sep 12 2:16
Hugh,

Would you explain what you mean by

Quote:


So I opened C:\Windows\syswow64\ in a admin Command window and did regsrv32 MSCOMCTL.OCX

I am having the same problem....

Thanks,

Ortho

lookaround "you cain't fix 'stupid'..."

Helpful Member!  HughLerwill (Programmer)
3 Sep 12 5:25
Assuming Windows 7 - 64 bit
Click the Win7 Orb
Type cmd into the Search box - a Shortcut to cmd.exe will appear
Right click the cmd.exe Shortcut select Run as administrator - a Command prompt window appears titled 'Administrator Command prompt' the current folder on the prompt is C:\Windows\System32
Enter cd .. - to navigate back to C:\Windows
Enter cd syswow64 - to make that the current folder, then from the C:\Windows\Syswow64 prompt ...
Enter regsrv32 MSCOMCTL.OCX - a message will appear indicating success/ failure to register
Helpful Member!  dilettante (MIS)
3 Sep 12 9:27
There is a more complete fix at Fixing the Microsoft Windows Common Control Library (MSCOMCTL.OCX) Security Update though many can limp along with the partial fix as described above as well as by Microsoft in the KB articles (links to them on that page).
OrthoDocSoft (Programmer)
3 Sep 12 11:36
Hugh and especially dilettante,

The "fixing the MS..." document was perfect for fixing my problems on my 32 bit XP machine. Thank both of you for your help! Stars.

Ortho

lookaround "you cain't fix 'stupid'..."

dilettante (MIS)
4 Sep 12 12:23
We'll just have to take a deep breath and wait for the next thing they break.
HughLerwill (Programmer)
4 Sep 12 14:31
>next thing they break
Looking on the bright side (at the moment) it seems that apps compiled to work with the old MSCOMCTL.OCX still seem to install/ work with the new one.
dilettante (MIS)
4 Sep 12 16:16
Do you mean "as long as the user jumps through these hoops" or something?

I guess I'm worried about (1.) what happens when an existing application is installed and then this update happens, and about (2.) what happens after the update is in place and working and you then install an application that has the old OCX in its package.

The first case probably means users calling for support (or just calling you names) when things stop working. They won't know they need to hold their noses and jump into the air and spin around 3 times.

For e second, a smart installer will see the new version and leave things alone - though a lot of them aren't that smart.

HughLerwill (Programmer)
4 Sep 12 16:55
Is anyone calling you names yet?
dilettante (MIS)
5 Sep 12 17:06
So far so good here, but I have moved to using isolated assemblies whenever possible.

This has downsides (Windows Update security updates don't get automatically applied to isolated libraries) and upsides (Windows Update can't break my programs in most cases, nor can all of the really shabby "no-no setup" installers other people create).

The downside means I have to provide my own updates and get users to install them. So far though the benefits have been worth it.
dilettante (MIS)
5 Sep 12 17:09
One other point is that most of the "security vulnerabilities" Microsoft has uncovered in recent years are only serious threats for Web pages that use these ActiveX controls. Few of them have any impact on a VB6 program. Those "kill bits" you read about apply to IE.

Between the growing share of the market occupied by contrarian browsers and IE being more and more locked down hardly anyone tries to do that anymore anyway.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close