Sorry, I don't think you remember VB6......
Main Topics
Browse All TopicsHi,
I have made many Project*.ocx . I tried to remove them now by regsvr32/u Project*.ocx. Every time it said "succeeded" but the ocx files are still in the Components window in VB6.
Anything I did wrong? How to remove them?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Using "regsvr32 /u Project1.ocx" works fine for me -- removes it from the list.
Are many of the items listed referring to the same file-name? That could possibly cause problems in removing them from the registry.
You might have to open Registry Editor (regedit.exe) and manually find/remove them. They will be located in keys such as:
HKEY_CLASSES_ROOT\CLSID
Well. actually I have written many lines of VB6 code OCX files, and even Add-ins for the IDE. You are correct that I don't have a copy in front of me to open it up.
regsvr32 /u Project1.ocx should work fine in terms of unregistering it from the OS.
Just because I register something in the OS doesn't mean it appears in the IDE's toolbox. That is done by adding and removing. I think you can do it from the right clicking the toolbox.. If not it is up in the menu in References or Components or something like that.
I am sure VB6 keeps a kill list of the controls you wish to use on a normal basis somewhere. It also stores info in the vbg or vbp file--if I remember correctly.
ON an aside, run the attached .reg file. It will add entries to your registry so that you can highlight an OCX or DLL, right click and register/unregister from the context menu.
Business Accounts
Answer for Membership
by: SStoryPosted on 2008-07-08 at 06:51:30ID: 21953780
I don't remember exactly how... and don't have VB6 in front of me, but I think you'd need to right click on the toolbox and choose the components and remove the ones you don' t want.
All you did was unregister them from the OS. VB6 probably has a default list of controls it should be using. You may also want to check on the menu in the References section.
This is the best that I can do from memory.