Visual Basic
   Visual Basic.Net
   Downloads
   Links
   Support This Site
   Contact

Google
Web VBCodesource.com






Register Controls


This command will register your .ocx and .dll controls. If you ever get a error that the .ocx control is not registered or something similar, then you most likely need to register the control in the system registry. It is quite easy to do so. All you need to do is: Click the start button then click the run option in the menu. In the box type in: regsvr32 pathofcontrol. Example: regsvr32 c:\windows\system\myocx.ocx It will pop up a messagebox to let you know if it was registered correctly or not. Well, thats all there is to it.
Note: You only need to register Active X controls(Not controls made in c++ or similar language since they are static).