Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Apr 22, 1997

Registering

Question:
When I try to cutomize controls, I got a error message says "Object Serve Not Correctly Registered". Following my friend's opinion, I used the regocx32.exe in c:\program files\microsoft visual basic\setup\ directory. I tried to find all the *.ocx and registered them using regocx32 *.ocx, but I still got the error message. Can you help me Please?

Answer:
This is a fairly common problem, unfortunately. To fix it, you can run the RegClean program that Microsoft has made available at the following URL:

ftp://ftp.microsoft.com/softlib/mslfiles/regcln41.exe
This removes all the references to controls no longer on the system. It probably also registers the controls that are on your system. However, if a control is still not available, the program to use to register it is REGSVR32.EXE, which should be located in your \Windows\System directory. To use it, simply call it with the full pathname of the control you wish to register, as in this example:
REGSVR32.EXE C:\WINDOWS\SYSTEM\COMCTL32.OCX
You should get back a message saying that the registration was successful. If you are still having problems after that, reinstall the software.
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date