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

Posted on 2004-10-28
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
    LVL 2

    Expert Comment

    Have you tried simply calling RegisterCOMServer and UnregisterCOMServer in the ActiveX unit?
    LVL 2

    Accepted Solution

    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

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    The Complete Ruby on Rails Developer Course

    Ruby on Rails is one of the most popular web development frameworks, and a useful tool used by both startups and more established companies to build strong graphic user interfaces, and responsive websites and apps.

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    856 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now