You cannot mix a vb6 application with a vb.net application.
The only thing that is partialy equal in those are the functions in the
visualbasic namespace, the operators and also partialy the style of coding
inside a function or a sub. The rest is complete new.
While vb6 uses intermidiate code with a runtimer, is vbNet using
intermidiate code processed by the framework.
I have very few vb6 expirience however I assume you can start an application
from VB6 however that is in my opinion more an VB6 classic question.
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.
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?
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.