Problem in work with ocx file
-
I add an ocx control on my form (right click on toolbox->choose item ->select special .ocx->add it on form) and work correctly. then i make setup for my project and add .ocx file to my setup project but when i install setup on destination computer this .ocx control doesn't work
why ?
-
I add an ocx control on my form (right click on toolbox->choose item ->select special .ocx->add it on form) and work correctly. then i make setup for my project and add .ocx file to my setup project but when i install setup on destination computer this .ocx control doesn't work
why ?
Try registering it with regsvr32 and see if that cures it.
Regards, Rob Philpott.
-
I add an ocx control on my form (right click on toolbox->choose item ->select special .ocx->add it on form) and work correctly. then i make setup for my project and add .ocx file to my setup project but when i install setup on destination computer this .ocx control doesn't work
why ?
Has the target got all the dependencies installed as well?
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
-
Try registering it with regsvr32 and see if that cures it.
Regards, Rob Philpott.
Is it correct : Regsvr32 /s /u Application.StartupPath+@"\dsoframer.ocx"
-
Is it correct : Regsvr32 /s /u Application.StartupPath+@"\dsoframer.ocx"
No. the /u flag uninstalls it. Just run it without any flags.
Regards, Rob Philpott.