Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ComAdmin.Catalog

Status
Not open for further replies.

ralphtrent

Programmer
Jun 2, 2003
958
US
Does anyone have any good info on this object. I tried looking at the MSDN stuff but that was useless. I have the following code set up:
Dim ocom, oComApp
Set oCom = CreateObject("ComAdmin.ComAdminCatalog")
Set oComCat = oCom.GetCollection("Applications")
oComCat.populate
i = 0
For Each comObj In oComCat
With comObj
If Left(.name,6) = "Facets" Then
i = i + 1
'WScript.Echo(.name)
'WScript.Echo(.key)
Set oComCat2 = oComCat.getCollection("Components", comObj.key)
oComCat2.populate
For Each comObj2 In oComCat2
With comObj2
wScript.Echo(.name + " | " +.key + " | " +.dll)
End With
Next
End if
End With
Next
my goal is to get dll information and other stuff. According to MSDN ( I should be able to get this info base on how I am looking for it. But I keep getting "Object doesn't support this property or method: dll " error. the name and key methods work. I am running on Windows 2000 with com 1.0. any help is GREATLY APPRECIATED
 
If you have VB or VBA, create a project that references this dll and use the object browser

Hope This Help
PH.
 
I am not use VB or VBA I am using VBScript to access this data through the web.
 
You don't have Word nor Excel ? They have VBA.
Otherwise search the M$ site for oleview".

Hope This Help
PH.
 
No i have them I was just hoping to do all my coding in VBScript. My goals it to web-enable portions of Component Services.
 
I suggested VBA only to get information on the dll, not to code the script.

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top