Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 79957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:13:38+00:00 2026-05-10T21:13:38+00:00

I have a software diagnostic page on which I would like to list the

  • 0

I have a software diagnostic page on which I would like to list the File Version information of a couple of COM DLLs. The page is running under the normal, restricted ASP.Net account (NETWORK SERVICE).

Given the ProgIDs of a COM library, what’s the best way to go about getting the physical file path or otherwise accessing the file version #?

Note that loading it via Type.GetTypeFromProgID and using the type’s Assembly object won’t work, as the Assembly object returned is the one for mscorlib.

The install path can be selected by the user and is not guaranteed to be a specific value.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:13:38+00:00Added an answer on May 10, 2026 at 9:13 pm

    One way of approaching this is to use the COM function CLSIDFromProgID (Pinvoke.Net shows how to call this from .Net here) to obtain a CLSID, use the GUID.ToString(‘B’) to convert the CLSID to a suitably formatted string then use it to go grovelling in the registry to find where the COM server is registered.

    The path will be
    HKEY_CLASSES_ROOT\CLSID\<YourCLSID>\InprocServer32 if the COM server is an in-process server (i.e. a DLL as you’re expecting)

    Note that the file path in the registry is not necessarily a fully qualified path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have web software where I need to have URLs like this http://site.com/page/var1/val1/var2//var3/val3 Then
I have a software downloads website thenoblesite.com. Whenever a new version of a software
Hi i would like to know best encryption technique for text file encryption and
I have some software which makes a request to a specific URL in internet
I have a software requirement like that: An app run on window but this
:) I have a software which can be executed via command line, and now
I have a Software titles class which is defined as follows: public class SoftwareTitles
I have a software archiving solution which requires a Windows share for the client
I have some software that can emulate things like BER and delays on the
I have a software framework compiled and running successfully on both mac and linux.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.