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 / Component Services / March 2006

Tip: Looking for answers? Try searching our database.

VB.NET 2003 / VB6 and COM+

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 02 Mar 2006 16:14 GMT
Question: I would like to know if its possible to put a .NET wrapper around
my VB6 COM+ components in order to take advantage of free threading available
in .NET and get around the STA limitations of VB6.

Detail:
I currently have an application that is developed using MS VB6 and VB.NET
2003.  I have several large COM+ components that are pure VB6.  

Some of the VB6 components have public / global variables at the module level
and according to documentation if thread multiplexing occurs my data could
become corrupt and invalid with unpredictable results.

My COM+ components do not perform DB transactions.  I am making ODBC and
other types of data access calls but none require DTC.

COM+ primary purpose for these components is for distributed processing.

TIA

Mike
Johannes Passing - 06 Mar 2006 10:42 GMT
Just putting a wrapper around the VB6 objects will not help - your VB6
objects would still reside in their STA. The only way to get rid of the
STAs is to port all VB6 objects to VB.Net - however, this can be quite a
pain. Plus, not all VB6 interfaces can be ported to .Net in a binary
compatible fashion.

/Johannes

> Question: I would like to know if its possible to put a .NET wrapper around
> my VB6 COM+ components in order to take advantage of free threading available
[quoted text clipped - 16 lines]
>
> Mike

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.