Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2005

Tip: Looking for answers? Try searching our database.

Uninstalling an OCX (regsvr32 is not enough!)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Flash - 17 Feb 2005 01:27 GMT
Hi,
after updating my own OCX file I noted that it cannot be inserted any more
in a Word document. It says something like:
"Object created in {long exadecimal number}. The application cannot be
found. Make sure the application is properly installed, and that it has not
been deleted, moved or renamed."
What happened? In order to update my control, I followed this sequence of
steps:
- unregister the prevoius version using regsvr32/u
- rebuild (and overwrite) the OCX file
- re-register the new OCX file with regsvr32
...but it seems that it wasn't enough.:(
I have to completely remove what was left in the register about the first
version of the OCX file, and start over. But how can I do it? Using
regsvr32/u is useless (I tried many times with no effect), must I manually
clean something in the register?
Just for information, I can use the new version if the control in any VB
project. It arises errors in Word only.
Thanks very much in advance,
Jezebel - 17 Feb 2005 08:52 GMT
Try this (no guarantees) -- Start Word and switch to VBA. Go to References
and browse to your OCX (ie add it as a reference to the project). Save,
close, restart. If all is now OK, you should be able to unreference it.

> Hi,
> after updating my own OCX file I noted that it cannot be inserted any more
[quoted text clipped - 15 lines]
> project. It arises errors in Word only.
> Thanks very much in advance,
Flash - 17 Feb 2005 12:30 GMT
> Try this (no guarantees) -- Start Word and switch to VBA. Go to References
> and browse to your OCX (ie add it as a reference to the project). Save,
> close, restart. If all is now OK, you should be able to unreference it.

Thanks for your answer.
I tried, but with no effect. :(((
Curiously I was anyway able to add that control on any UserForm (it worked
regularly) even if I couldn't put it directly into the document.
Flash - 17 Feb 2005 12:34 GMT
> Try this (no guarantees) -- Start Word and switch to VBA. Go to References
> and browse to your OCX (ie add it as a reference to the project). Save,
> close, restart. If all is now OK, you should be able to unreference it.

Thanks for your answer.
I tried, but with no effect. :(((
Curiously I was anyway able to add that control on any UserForm (it worked
regularly) even if I couldn't put it directly into the document.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.