|
-
Apr 29th, 2000, 11:50 AM
#1
I made a .ocx file but i later deleted it, but when i check the components section it is still listed there. i tried to unregister it but it is still there, this is very odd, someone please give me an idea on how to get rid of it.
-
Apr 29th, 2000, 01:16 PM
#2
Fanatic Member
I had a similar problem like this when I first started using OCX years ago.
Tell me if I am wrong! You register the OCX by either double clicking on it or ran the Active X through VB. This is automatic registration of OCX.
Then you decide to delete the entire project including the OCX.
If you deleted the ocx before unregistering, it will still remain in the Component Box. Is this what you did?
Even if you copy the ocx back again, it will not unregister because it becomes a different version.
You have one of two choices:
Click on "Start" button
Click on "Run"
Type this in the command line:
Regsvr32.exe /v /u "C:\Your Program Name.ocx"
FYI...
/v = version
/u = uninstall
or
This will definitely work. Search for a file on the internet call RegClean.exe. This will clean your registry out. Read all the warnings on this before you run it. I use it many times in the past and works fine.
or
I don't recommend this, but if you know enough about Registry, you can go and search for the OCX key.
Keep in mind in the future, when you are dealing with Active X controls, you must simply unregister it(regsvr32.exe /u /v "Your OCX file"), before you can delete it. If you delete it first, then I recommend the Regclean.
Chemically Formulated As:
Dr. Nitro
-
Apr 30th, 2000, 12:29 AM
#3
ok thanks
i have tried to unregister it but after i deleted it. all i did was make a copy of another OCX i made and named it the OCX that i wanted to unregister and then unregistered it, but it didn't work. well ill look for regclean, thanks for the reply.
also i searched my registry and i found the OCX file that i wanted gone in many places in the registry, should i just delelet those keys? i dont know what they mean but i know they have to do something with my problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|