>>I need to add an Activex control to one of my apps that is installed on lots of client machines. Is there a way to register the control on the fly at run time so I can avoid re-installing the app with a setup program on all of the machines? I don't care if the registration is permanent or just while the app runs.
>>
>
>
>Alternatively, with a small amount of coding, you can also call the self-registration ejtrypoints for the component programmatically through calls to the OCX/DLL's self-registration code. There is sample code in the FAQ that could be adapted to this if you don't want to rely on REGSVR32 to do this, but you'll have to get the code written correctly for the control, since at a minimum, the DECLARE...DLL statements needed for the call are case-sensitive.
>
>
Thanks,
I used the code in the FAQ and it works fine. Sorry I missed it before
David