Re: Call .net routine from Vb6 Application




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

.



Relevant Pages

  • Re: [opensuse] device.map - Darryl/Carl/Boyd
    ... this thread has multiplied substantially so losing a detail here or ... those kernel and initrd locations ... seen any reports of this kind of behaviour in the grub install routines, ... nor have I ever encountered a problem with those routines myself. ...
    (SuSE)
  • Re: [opensuse] device.map - Darryl/Carl/Boyd
    ... nor have I ever encountered a problem with those routines myself. ... interrupted the bootloader routine when he installed his system (unless ... why would this install be any ...
    (SuSE)
  • Re: A simple example on widgets with dislin 9.2
    ... |The current distributions ofDislincontain also the routines GWGINT ... I'll try to install the new distribution and check ... Will it be enough if I just overwrite the olddislindirectory with the new installation? ... you can just overwrite the old distribution with the new one. ...
    (comp.lang.fortran)
  • plug-in 4ever
    ... i developed some macros and routines in a word document and i want to ... install it in my word application, ...
    (microsoft.public.office.developer.vba)