unable to register flash10c.ocx
When I use Package and Deployment Wizard to make an installer of my vb6 application. When I test it and installed it, upon reaching 100% installation, it was unable to regi开发者_开发技巧ster Flash10c.ocx. I tried to ignore it and try to run the installed application. The application runs but the flash movie does not work.
Try this at Run dialog:
regsvr32 Flash10c.ocx
But first put the Flash10c.ocx
file in system32 folder.
The OCX quite likely relies on some other DLLs or registry keys in order to work, just copying it is unlikely to work.
I think it's distributed with Windows now, in which case you are not supposed to include it with your installation.
The easiest way is to force the user to install the Internet Explorer version of flash (note: installing in Firefox, Chrome or Safari will not work as they do not use the OCX version of flash). Not easy to do in the Package and Deployment wizard, but pretty simple in an real installer (if you need instructions for Inno Setup, I can help with that). Otherwise you can write a quick check in the beginning of your VB file to make sure the OCX is registered, and fail if it isn't.
If you really want to distribute the flash ocx, you have license flash player (usually free), you can apply to Adobe to receive a redistributable package.
精彩评论