Showing posts with label Regsvr32. Show all posts
Showing posts with label Regsvr32. Show all posts

Wednesday, September 20, 2006

Register / Unregister OLE Controls


Problem: How to register / unregister OLE Controls?

Solution: Use Regsvr32 tool (Regsvr32.exe) to register / unregister object linking and embedding (OLE) controls such as dynamic-link library ( DLL ) or ActiveX Controls (OCX) files that are self-registerable.
Steps:
1. Go to the command prompt Start --> Run --> cmd (change to the directory where the file is present)
2. To register the file type in: regsvr32 file.(dll/ax), To unregister type: regsvr32 -u file.(dll/ax)
3. Some popup message should display saying that the file was successfully registered or unregistered

Extra info:
Regsvr32 [/u] [/n] [/i[:cmdline]] dllname

/u - Unregister server
/i - Call dll install passing it an optional [cmdline]; when used with /u calls dll uninstall
/n - do not call DllRegisterServer; this option must be used with /i


Back to Top


 

Labels