10楼#
发布于:2004-09-04 10:50
<P>Adding COM category registration functions</P>Previously, you may have used the ESRI Component Category Manager or the ESRI Compile and Register addin for Visual Basic 6 to add a class to a component category. When using the Component Category Manager, you must select the .tlb file for your component rather than the .dll file. For example, browse to WalkthroughVBNET.tlb.
<P>Visual Studio .NET provides the ability to specify a function that executes when an assembly exposed for COM interop is registered on a system, and another function that executes when the assembly is unregistered. This allows you the to automatically register your class to a component category when the assembly is registered.</P> <p> <P><FONT size=5>可以看看下面的地址</FONT></P> <P>http://arcobjectsonline.esri.com/GettingStarted/Walkthrough1VB.htm</P> [此贴子已经被作者于2004-9-4 10:51:55编辑过]
|
|
|
上一页
下一页