Getting COM Version Info

  • Thread starter Thread starter kpg
  • Start date Start date
K

kpg

Hi All,

I have an asp.net project that uses an ActiveX component on the
server side and I would like the login page to show the version
number of this component. The ActiveX component is included
as a COM Reference to the project.

Any Ideas?

TIA
kpg
 
I have an asp.net project that uses an ActiveX component on the
server side and I would like the login page to show the version
number of this component. The ActiveX component is included
as a COM Reference to the project.

OK, in VB6 I would either look in the registry or use the GetFileVersionInfo
API call. Now I'm in .NET and running on a server, I thought maybe the
registry would not be accessible to me, and in .NET I don't like using API
calls because I'm a purist (and possibly anal-retentive) in keeping with the
whole .NET abstraction from the OS thing. I hear the groans now. Anywho,
I was wondering if there was a .NET way to get version info from a COM
component while running under a limited account, like the ASP.NET User
Account, perhaps along the lines of system reflection, but COM is not part
of
..NET so I don't think that's it. I just thought someone would know.

Thanks.

kpg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top