Re: Multiple references to same component in reference dialog




"Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OwTVA1KRHHA.3812@xxxxxxxxxxxxxxxxxxxxxxx
"Steve" <sredmyer@xxxxxxxxxx> wrote in message
news:1170185825.245451.196630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

My expperience is that if I compile a project with or without binary
compatability it will be registered and an entry will be created in
the References dialog box. If I then delete the compiled file without

Since ActiveX relies almost entirely on the registry, that makes perfect
sense.

unregistering it, the entry will still be in the registry and in the
References dialog. This entry will be an orphaned entry in that it no
longer points to a valid file. Furthermore, since the file no longer

Again... perfect sense.

exists, you can not unregister it...hence there will be no way of
getting rid of the entry.

"No way" isn't correct <g> There are a lot of ways. RegClean uses one of
them. You can also get rid of them "manually" by reading the following
doc.

INFO: Registry Entries Made by an ActiveX Component
http://support.microsoft.com/kb/183771/en-us

You can also use this excellent utility to get rid of them...

COM Explorer - Explore, Manage and Repair ActiveX Controls, DLL & EXE
Servers
http://www.4developers.com/com/index.htm

As I said in my original post I used to use RegClean to clean these
issues up but it is not working now. In an attempt to find out why it
is not working I found an article from M$ that states that the utility
does not work on XP.

Well, post a link to that article because it's surely wrong. It works
fine.
It's not "supported" on XP... that I can believe. You may have specific
software that complains after using it... I've heard of that. I have none
of
that software though, so I use it when ever I get the urge <g>

Since deleting a file without unregistering first seems to be your main
issue, the doctor says "don't do that any more". You should have Regsvr32
associated with activex components so you can right-click any DLL or OCX
and
register/unregister them at any time.


To add to the pile, another Gotcha when dealing with registered components
comes from deleting components using the Shell (Explorer). A deletion
actually just moves the component from the current folder to the Recycle
folder. In this case the O/S will often quite kindly update the Registry
entry to point to its new location.

Thus you many think it is gone - but subsquent runs of your application is
not using a 'new' dll, but one that is sitting in the Recycle folder. This
can be quite bewildering the first time you run across it.

-ralph


.



Relevant Pages

  • Re: Multiple references to same component in reference dialog
    ... the References dialog box. ... This entry will be an orphaned entry in that it no ... Registry Entries Made by an ActiveX Component ...
    (microsoft.public.vb.general.discussion)
  • Re: Registry question
    ... RegMaid.exe Helps Clean Up the Registry ... Microsoft Visual C++, 32-bit Learning Edition, version 6.0 ... RegMaid provides information about entries that are believed to be ... server file entry cannot be found by the system. ...
    (microsoft.public.windowsxp.general)
  • Re: MS Backup
    ... Okay, I had to go to bed too:) Now, no cd is nothing to worry about. ... reason you don't have that entry in your registry is because you don't have ... >> msnewsgroups..on the right, then go to the toolbar, click on view>current ...
    (microsoft.public.windowsxp.basics)
  • Re: Word opens slowly
    ... See http://support.microsoft.com/?kbid=329820 "How to use Office programs with the Norton AntiVirus Office plug-in" for more information. ... I have done three fresh install, scanning first, then defragging, then cleaning the registry before reinstalling Office. ... HKEY_CLASSES_ROOT\word\10.0 Delete the entire 10.0 entry. ...
    (microsoft.public.word.application.errors)
  • Re: Change MTU for gprs connection
    ... me where to add the entry and how it looks like. ... registry files will be the one that ends up in the final registry. ... with wavecom Q2501 gprs module. ... Have you entered "MTU" in the Search pane for the Platform Builder ...
    (microsoft.public.windowsce.platbuilder)