Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / September 2004

Tip: Looking for answers? Try searching our database.

How do I create COM+ from VB.NET DLL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
G. Harland - 27 Sep 2004 18:59 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.