|
Home » ASP Home » ADO Home » ProgIDInfo Object
A D V E R T I S E M E N T
Title |
ProgIDInfo Object |
Description |
ProgIDInfo returns information about COM objects installed on the server. ProgIDInfo is useful for determining the CLSID, typeLib, current version, dll name, path to dll, library description, etc... for one or more entered class strings. ProgIDInfo is an extremely helpful tool for administrators anxious to learn about the limits of their environment by probing the Windows registry for information about available com objects. Properties ================ No Exposed Properties Methods ================ LoadProgID(sProgramID) Set object = obj.LoadProgID(sProgramID) Retrieves information about the class string entered in the sProgramID argument. Returns a Program object. The Program object returns seven read only properties. Each property contains information about the entered class string: Program Object properties: ========================== All program object properties return "undetermined" if the information cannot be found in the registry for that specified com object. Description returns the readable description for the entered com object. example: for Scripting.FileSystemObject, Description property returns: "Scripting Runtime Library" ClsID returns the class id for the entered com object as string. ProgID returns the current version specific program id for the entered com object as string. For example, if you enter "Excel.Application" and you have Excel 2000 on the server, the ProgID property of the program object will return "Excel.Application.9" which is Excel 2000's class string. Path returns the absolute path to the COM object being called on the server as string. Useful for fixing permissions on COM objects since you'll need to know where the dll is to set it's permissions. TypeLib returns a GUID as string representing the object's type library. Useful with the metadata tag. Version returns version information as string for the specified com object only if the Path property returns a valid path. DLLName returns the name of the dll or executable being called with that class string as a string. Includes the extension. You can call the LoadProgID method repeatedly without having to create a new instance of the class. A new Program object will be automatically created for each instance. |
Category |
ASP » ADO |
Hits |
377337 |
Code |
Select and Copy the Code
|
|
|
Related Source Codes
A D V E R T I S E M E N T
|
Subscribe to SourceCodesWorld - Techies Talk |
New! Click here to Add your Code!
ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home
Source Codes Home Page | |
|