VB.NET business objects and COM+ 
Author Message
 VB.NET business objects and COM+

Is it possible to write .NET busines object that run under COM+ that VB6
front end applications can call?  Does anyone know where I can find some
simple examples of how to do this?  I've read the book "VB.NET Programming
With the Public Beta" and although the book implies this can be done there
are no examples.  Any help would be greatly appreciated.

Owen Johnson



Mon, 06 Oct 2003 08:53:16 GMT  
 VB.NET business objects and COM+
In Beta 1 the COM+ interop functionality is not complete and is not
implemented as it will be in the final release. In fact, it is not entirely
clear how it will work in the final release, but yes, it will be possible to
create a transactional .NET assembly (thus running in COM+) that can be
called from COM-based applications.

In general, it appears that the .NET assembly will need to implement a
formal interface (using the Interface keyword) and will need to make use of
the transactional attribute (so it goes into COM+). Once the assembly is in
COM+ we should be able to call it from a COM-based client via that formal
interface.

The problem with 'simple' Beta 1 examples is that there aren't any. In Beta
1 the process is a multi-step thing that is generally just awkward...
Fortunately this will change.

--
Rockford Lhotka


Quote:
> Is it possible to write .NET busines object that run under COM+ that VB6
> front end applications can call?  Does anyone know where I can find some
> simple examples of how to do this?  I've read the book "VB.NET Programming
> With the Public Beta" and although the book implies this can be done there
> are no examples.  Any help would be greatly appreciated.

> Owen Johnson




Mon, 06 Oct 2003 22:29:18 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Passing Form Fields to VB.NET Custom Business Object in an ASP.NET Code Behind Page

2. VB.NEt Beginner: Creating a COM+ Object in VB.net

3. Problem passing VB COM+ ASP Request object to .NET component System.Web.HTTPRequest through COM interop

4. Returning Dataset to ASP.NET from .NET Component / Business Object Serialization

5. Call VB DLL or COM object from within VB COM object or EXE

6. Weird Behavior using ADO and COM business object

7. Create Business Object (COM) from an activeX control???

8. com object will not read registry when com object called from asp (vb works fine)

9. Problem with VB.NET and COM Objects

10. Calling a COM object from VB.Net with Optional Params

11. call com object with byref byte parameters in vb.net

12. call com object with byref byte parameters in vb.net

 

 
Powered by phpBB® Forum Software