B
bears
I have two VB6 executables (let's say A and B). A is the
first one start up. After clicking a button on the main
form of A, the executable B will start up by using the
CreateObject() function (to create an object of a class in
B). In this way the main form in B will show. (The
executable I am talking about here is the *.exe file)
After I upgraded the project B to .NET, each time when
clicking on the button in the main form of A, the VB6
version of B is still got called, not the .NET version
one. This is because the registery of B is still for the
VB6 one.
I am not sure how to register the .NET one, so that the
VB6 executable (A) can call up the .NET executable (B).
Also, how to do the debugging? I checked all the
documents, and all just talk about VB6 calls a .NET COM
object or a .NET calls a VB6 COM object. No one talks
about executable call another one.
first one start up. After clicking a button on the main
form of A, the executable B will start up by using the
CreateObject() function (to create an object of a class in
B). In this way the main form in B will show. (The
executable I am talking about here is the *.exe file)
After I upgraded the project B to .NET, each time when
clicking on the button in the main form of A, the VB6
version of B is still got called, not the .NET version
one. This is because the registery of B is still for the
VB6 one.
I am not sure how to register the .NET one, so that the
VB6 executable (A) can call up the .NET executable (B).
Also, how to do the debugging? I checked all the
documents, and all just talk about VB6 calls a .NET COM
object or a .NET calls a VB6 COM object. No one talks
about executable call another one.