Delphi ActiveX - How to display FileVersion

Posted on 2009-04-18
Last Modified: 2013-11-23

I try to present a new application via an ActiveX designed with Delphi 7
this ActiveX is used in a web page using various parameters ... (that could be a solution, but...)

in the ActiveX, I want to display the FileVersion information...
but the only way I know to reach this information is to get the path of the ActiveX ...
in fact, the ActiveX is downloaded in the "Downloadded Program Files" directory ... but what is the name of this file...

Do you know  another easiest way to reach this information

Question by:LLorenzo
    1 Comment

    Accepted Solution


    Here is the solution I used :
    passing parameters to the ActiveX inside the  declaration
    I am able to find ActiveX Name and Version

    at ActiveX start, I find the ActiveX file inside the "Downloadded Program Files" directory...
    and at this point I can get the ActiveX version ...

    <object classid="clsid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" codebase="http://ll/BLineBin/AxBLineProj.ocx#version=1,1,20,0" width="845" height="600" align="center" hspace="0" vspace="0">
    <param name="OCXVersion" value="1,1,20,0" valuetype="data">
    <param name="OCXName" value="AxBLineProj.ocx" valuetype="data">
    <param name="HttpRoot" value="http://ll/BLineBin/" valuetype="data">
    <param name="BaseHRef" value="http://ll/BLineBin/BLine.dll/" valuetype="data">
    <param name="idVO" value="1462028" valuetype="data">

    Open in new window


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
    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…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

    731 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

    15 Experts available now in Live!

    Get 1:1 Help Now