Getting COM Version Info

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kpg

    #1

    Getting COM Version Info

    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
  • kpg

    #2
    Re: Getting COM Version Info

    > I have an asp.net project that uses an ActiveX component on the[color=blue]
    > 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.[/color]

    OK, in VB6 I would either look in the registry or use the GetFileVersionI nfo
    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

    Comment

    Working...