?
Solved

Searching for installed components and COMs

Posted on 2004-11-23
10
Medium Priority
?
179 Views
Last Modified: 2013-12-24
Hi,

I want to check the server for installed Coms and other OLE components. How can I do it ?

0
Comment
Question by:Michael_O
  • 4
  • 2
7 Comments
 
LVL 9

Expert Comment

by:shooksm
ID: 12655547
Here is a good script in ASP that will find a good deal of components with the ability to add additional components you are searching for in the INI file:

http://www.learnasp.com/learn/componentchecker.asp
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 12661293
Forgive me if I am wrong, but that looks like a script that reads a file that is custom made, not one maintained by the server.
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 12661364
A simple script to get the classes would be

<cfregistry
      action="getall"
      branch="HKEY_CLASSES_ROOT\CLSID"
      type="key"  
      name="qRegistry" />

<cfloop query="qRegistry" endrow="20" >

      <cfif qRegistry.entry IS NOT "CLSID" >
            <cfregistry
                  action="get"
                  branch="HKEY_CLASSES_ROOT\CLSID\#qRegistry.entry#"
                  type="key"
                  entry="ProgID"
                  variable="thisKey" />

      </cfif>

</cfloop>

Yoiu could derive more information, like path to dll etc...
0
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

 
LVL 17

Accepted Solution

by:
Tacobell777 earned 2000 total points
ID: 12661369
sorry wrong code:

<cfregistry
      action="getall"
      branch="HKEY_CLASSES_ROOT\CLSID"
      type="key"  
      name="qRegistry" />

<cfoutput>

      <cfloop query="qRegistry" >
      
            <cfif qRegistry.entry IS NOT "CLSID" >
                  <cfregistry
                        action="get"
                        branch="HKEY_CLASSES_ROOT\CLSID\#qRegistry.entry#"
                        type="key"
                        entry="ProgID"
                        variable="thisKey" />
                  #variables.thisKey#<br/>
            </cfif>
      
      </cfloop>

</cfoutput>
0
 

Author Comment

by:Michael_O
ID: 12662404
Thank you for your solution. By the way, Is there any way to check for the installed and active COM objects ?

0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 12662677
The above displays the COM objects ????????
0
 

Author Comment

by:Michael_O
ID: 12663000
No, it only show the installed objects with correspondence record in Windows registry. I'm seeking something completely different.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
What You Need to Know when Searching for a Webhost Provider
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

840 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