CSComAdminClient
所属分类:xml/soap/webservice
开发工具:C#
文件大小:94KB
下载次数:10
上传日期:2005-11-10 19:47:44
上 传 者:
feeling0309
说明: 使用映像去访问COM+目录,这个例子还包括了XML文件操作等内容
(use mapping visit COM directory, this example includes the XML file manipulation etc.)
文件列表:
build.bat (140, 2001-05-30)
ComPlusPropertyMap.xml (2173, 2001-05-30)
dispCOMWrapper.cs (6959, 2001-05-30)
Main.htm (12761, 2001-05-30)
TestComAdmin.cs (1244, 2001-05-30)
workin1.jpg (41232, 2001-05-30)
workin2.jpg (48762, 2001-05-30)
xmloutputformat.jpg (7024, 2001-05-30)
Working with the COM + admin objects under .NET/C#
Pre Requisites to work with the sample:
Windows 2000 Sp1
.NET SDK
This sample covers the following concepts:
Late binding to COM objects via Reflection
Using the XmlDocument, DocumentNavigator, etc within the System.Xml namespace to load XML files and fire XPath querries.
Using the COM+ admin objects to talk to the COM+ catalog and query the properties for each COM+ app installed as well as the components within them.
Motivation
I read that .Net provides interoperability with COM components. But thought that I would like to test it with existing components installed within the system. Since I already had worked with the COM+ admin objects sometime back and not much samples are available on it, thought that working with it in C# would be cool.
--------------------------------------------------------------------
Source/Misc Files Descriptions
TestComAdmin.cs Contains the client
dispCOMWrapper.cs Contains helper classes which are compiled as components
build.bat Builds the source files
ComPlusPropertyMap.xml Contains a complete list from MSDN about
the various properties exposed by the Applications
as well as the Components collection in XML format.
Build:
Run build.bat, and then the sample.
Assumptions:
The .NET Sdk is installed on the users machine and all the environment variables for the compiler path/directories
have been set by the installation.
近期下载者:
相关文件:
收藏者: