Public Class Organize
Dim FrmOrganize1 As FrmOrganize
public sub new
end sub
public sub Show
FrmOrganize1.Show
end sub
end class
I built a dll in .net. I used regasm to register it and it is registered as
Myproject.Organize
In VB6, I add a reference to the .tlb.
I then call
dim frm
set frm = Myproject.Organize
frm.show
I get the error cannot create a file when the file already exists. What am
I doing wrong?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2g***********@uni-berlin.de...
* "Cor Ligthert" <no**********@planet.nl> scripsit: You cannot mix a vb6 application with a vb.net application.
That's true, but you can write a .NET component and register it for COM
interop and then use this DLL in your VB6 project. Nevertheless, I
would not use .NET GUIs in VB6.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>