Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2004-10-28
Medium Priority
Last Modified: 2010-05-18

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).
Question by:Johnjces
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 12436293
Have you tried simply calling RegisterCOMServer and UnregisterCOMServer in the ActiveX unit?

Accepted Solution

gary_williams earned 500 total points
ID: 12436326
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.
LVL 18

Author Comment

ID: 12437660
Works well and is what I was seeking! Thank-you!

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question