[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

Turning Flash On and Off in Delphi, or Reg Key entries for this


I know that one could do a quick Delphi app to shell to Regsvr32.exe to register and unregister the flash.ocx to turn it on and off.

However, there has to be a regsitry key entry that regsvr32 changes to actually register the OCX and have it enabled. I cannot find that key.

Does anyone know Flash and know where it can be enabled - disabled easily other than running regsvr32?

Thanks a bunch. (May have to move to the Flash forum).
  • 2
1 Solution
Have you tried simply calling RegisterCOMServer and UnregisterCOMServer in the ActiveX unit?
I have a registry patch that disables Flash in an unconventional way: it marks it as incompatible with IE.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{D27CDB6E-AE6D-11CF-96B8-444553540000}]
"Compatibility Flags"=dword:00000400

To re-enable, remove the key entirely.

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{D27CDB6E-AE6D-11CF-96B8-444553540000}]

While this is IE-specific, the GUID might be of use to you.  You can search your registry for it to find other occurences of interest.
JohnjcesAuthor Commented:
Works well and is what I was seeking! Thank-you!

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now