Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

After registering and unregiisting many times OCX will not register

Posted on 2008-10-09
2
Medium Priority
?
175 Views
Last Modified: 2012-05-05
I have a project that stores a OCX in a resource file. On program load code checks to see if it exists and if not it is extracted and registered. This code ran fine at first but in testing I have manually unregistered and registered this ocx many times. Each morning i do 3 backups of my vb project 2 to other places on my hard drive and 1 to a flash drive. I just did a search and have 43 copies of the ocx on my hard drive, probably some registered and others not. Now i can no longer register this ocx. How can i clean-up this mess and get my ocx to register ?
0
Comment
Question by:isnoend2001
[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
2 Comments
 
LVL 14

Accepted Solution

by:
Matti earned 2000 total points
ID: 22694766
Hi!

Type regedit on run commandline.
Press Ctrl-F and type controls name there.

Delete all etries on GUID level like these: {71E40CBE-9E14-45D3-A7F8-81F8F46F3F38} and their sub keys
DO Not delete anything on root or catecory level.

Press F3 until you found all entrys

Then make sure that the latest is in WIndows\System32 folder

and type on runline regsvr32 controlname.ocx

Matti
0
 

Author Closing Comment

by:isnoend2001
ID: 31504717
Thank you
Actually I rebooted and then was able to register, now i need to do as you suggested and clean up the mess in the registary
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

609 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