Yes, you can load a ocx without registering it, provided you give com the required type information it needs. Basically you fake com into thinking the ocx is registered. We have a very large product (not flex) that uses this technique with a slew of custom ocxs (100s) all are not registered. That is if you want to target all windows versions.
If your just targeting xp and above then a manifest file in the exe path will provide this. jason -----Message d'origine----- De : [email protected] [mailto:[EMAIL PROTECTED] la part de Pan Troglodytes Envoyé : mercredi 10 janvier 2007 21:19 À : flexcoders Objet : [flexcoders] any possible way to use flash ocx without installing? Okay, this is only borderline Flex since it's a Flex app, but I hope you'll indulge me. Is there a way to use the flash ocx in a desktop application without having flash installed on the machine? Say I have just my application's exe and Flash9.ocx. Or am I stuck because the OCX has to be registered with regsvr32 and there's just no way for a non-admin to do that? It's probably a moot point, as further research says you aren't allowed to redistribute Flash9.ocx anyway. But I'm still curious if it's possible. -- Jason

