SalemGrafix
IS-IT--Management
I created a custom control for some custom reports that I'm doing for work. The custom control works great, and I've used it in 2 programs that I've created so far. The problem I run into is when I try to install the program(s) on another computer, the Custom Control doesn't seem to get registered.
I'm using VB6, creating a User Control (OCX), saving and compiling the OCX, and using that in another VB Project. The final project is then compiled into an exe, and using the VB Package and Deployment, creating a setup routine to be installed on other machines. I have manually added the component into the setup routine, and all seems to go well, until we try to run the program on another machine.
I believe that it may be due to not registering the component on the other machine. I have tried to use the "regsvr32 customcontrol.ocx" command, but no luck with that either. Also, oddly enough, I can use the custom control on my machine in VB, but not in Access. I'm starting to think that there is a subroutine or call that I need to include to make this work, but I'm not sure what I'm missing.
Thanks for any help or advice on custom control registration anyone can give me.
I'm using VB6, creating a User Control (OCX), saving and compiling the OCX, and using that in another VB Project. The final project is then compiled into an exe, and using the VB Package and Deployment, creating a setup routine to be installed on other machines. I have manually added the component into the setup routine, and all seems to go well, until we try to run the program on another machine.
I believe that it may be due to not registering the component on the other machine. I have tried to use the "regsvr32 customcontrol.ocx" command, but no luck with that either. Also, oddly enough, I can use the custom control on my machine in VB, but not in Access. I'm starting to think that there is a subroutine or call that I need to include to make this work, but I'm not sure what I'm missing.
Thanks for any help or advice on custom control registration anyone can give me.