Re: Call .net routine from Vb6 Application
- From: "Robert Conley" <robertsconley@xxxxxxxxx>
- Date: 17 Aug 2006 10:46:13 -0700
Ruth wrote:
I have a VB6 Application that needs some more maintenance routines added. I
am thinking of createing the new routines in .net 2005.
Is it possible to call the new .Net routine from within my VB6 app? How?
You have to use .NET to produce a COM DLL by including GUIDs and the
correct attributes. Once registered then you then can call it from VB6.
The downside for using this to add a few new routines is that it is
easy in .NET to create code that is not compatible with COM (exposing a
generic class is a no no for example) Plus you have a huge
multi-megabye runtime you will have to add to your install. Plus a raft
of new install issues that are unique to the .NET runtime.
None of it is impossible but it is a step that shouldn't be entered
lightly and there are compromises involved.
As for actually using .NET to build a COM DLL you should go to one of
the dotnet groups for that.
Rob Conley
.
- Prev by Date: A Path to the future
- Next by Date: Re: Why is GOTO bad?
- Previous by thread: Re: Call .net routine from Vb6 Application
- Next by thread: Re: Call .net routine from Vb6 Application
- Index(es):
Relevant Pages
|