I am a PowerBuilder coder by nature, so please go easy on me.
I have a VB.NET DLL that I need to turn into a COM+ component. I currently
use VS.NET 2003, and what I hope to achieve is that I can add a package in
Administrative Tools>Component Services and add the DLL as a component in the
newly created package.
I have tried various forms of imports System.EnterpriseServices and running
REGASM, but whenever I add the component in Component Serivces and expand the
tree, the component shows nothing under Interfaces. What do I do, if
anything can be done, to accomplish this? I am under a bit of time crunch,
so it does not need to be an elegant solution, just one that works.
Thanks for any help.
Glenn Harland
Kaustav - 28 Sep 2004 13:53 GMT
Hi G,
If you have imported System.EnterpriseServices and inherited your class from
it then you are almost through for registering your assembly in COM+. You
need to compile your assembly. Next go to a .NET command prompt and execute
the following -
Regsvcs /c "Path to YourDll.dll"
HTH.
> I am a PowerBuilder coder by nature, so please go easy on me.
>
[quoted text clipped - 12 lines]
>
> Glenn Harland