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 / March 2008

Tip: Looking for answers? Try searching our database.

Migrating one VB6 COM+ component to .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kkarre - 10 Mar 2008 12:56 GMT
Hi,
We must do a step-by-step migration of our COM+ applications.
I have
1 One migrated component, now .NET with strong name - 1_NET.dll
2 Two COM components (referenced by 1_NET.dll, where the
  Interop assemblies also got strong names - Interop.2a.dll / Interop2b.dll)
3 1_NET.dll is installed in the GAC
4 A VB6 exe trying to create an instance of a class in 1_NET.
5 When running the VB6 exe I get
Compile error:
User-defined type not defined

What am I missing?
Grateful for any tip/direction to good documentation
kkarre - 10 Mar 2008 13:31 GMT
> Hi,
> We must do a step-by-step migration of our COM+ applications.
[quoted text clipped - 10 lines]
> What am I missing?
> Grateful for any tip/direction to good documentation

When I click around in the COM+ app I realize we didn't get the methods
across.
The Interface is there, but not the methods. I guess I must decorate the
methods somehow in .NET before it's installed in COM+?
I also tried to rerun the regasm tool to get a tlb, but although I get
promising message from the prompt, the file doesn't show up in Windows
Explorer.
And, also, shouldn't I somehow configure my app to use the COM+ component
from the VB6 app? Sort of "connect" the object to where it's constructed. ??

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.