Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2005, 02:31 AM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accesing COM+ components from c#

Is it possible to access a COM+ component developed with Visual Basic 6.0 from a C# component?
Does anyone know any page about this?

Thanx!

 
Old June 22nd, 2005, 05:57 AM
Authorized User
 
Join Date: Nov 2004
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to avanishp
Default

Hi
see this link:
http://www.csharphelp.com/archives/archive160.html

Avanish

 
Old June 24th, 2005, 05:23 AM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mrinalkamboj
Default

Hi ,

Article is good enough to begin but few points that i want to emphasize :

COM+ services are different paradigm all together w.r.t to any of the other programming language like C# , through which COM+ services can be acessed .

Important thing is that these services can be utilized in the code through either declarative attributes or the implicit code , but assembly can be benefitted at runtime only if it is registered with the COM+ explorer , else it's like any other normal assembly , no matter Sytem.EnterpriseService classes being used inside it .

In your case even if it's a Non .net code used for creating COM+ assembly , then ultimately it's like any other simple communication between .net and that programming paradigm for e.g : COM -> .Net -->
TypeLibrary -> Metadata by creating RCW .

It will only happen at runtime when ur COM+ registered assembly will get loaded then it will start utilizing COM+ services but for .net program communicating with it this doesn't creates a difference .

thanks ,

Mrinal





Similar Threads
Thread Thread Starter Forum Replies Last Post
accesing server name in c# forms navneet_upr02 C# 2 January 3rd, 2008 08:15 AM
accesing database from server navneet_upr02 C# 2 January 3rd, 2008 08:12 AM
Accesing Com+ components from c# txerra C# 1 June 22nd, 2005 06:10 AM
accesing values in DataList miguel.ossa ASP.NET 1.0 and 1.1 Basics 7 March 8th, 2004 09:24 AM
Accesing Web Folder kosla78 Classic ASP Basics 4 December 4th, 2003 07:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.