-
Register an .ocx
I've made a program that uses many new components...But i need to register these on other peoples computers how do I do this without making a setup program?
The one that needs registering most on other peoples computers is the winsock control.
Thanx...
-
right click on the .ocx file and select open with, then browse and select REGSVR32.EXE and check the box that says "Always use this program to open this files", that way when you dblclick the .ocx file it will be auto registered in the registry.
hope this helps...
-
Just run "regsvr32" with the Shell statement.
Code:
Shell "regsvr32.exe myocx.ocx", 1