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

Delphi ActiveX - How to display FileVersion

Hello

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

Thx
0
LLorenzo
Asked:
LLorenzo
1 Solution
 
LLorenzoAuthor Commented:
Hello

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">
</object>

Open in new window

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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