I have a VB6 application which displays a logon form which then shows the applications main form and unloads itself.
This works fine in VB 6, but when I migrate it to VB.NET the application terminates as soon as the logon form unloads.
How should I change the code to make this work as in VB6?
I have tried using Application.run to load the main form but this gives an error saying that I cannot run another process on the same thread.
This works fine in VB 6, but when I migrate it to VB.NET the application terminates as soon as the logon form unloads.
How should I change the code to make this work as in VB6?
I have tried using Application.run to load the main form but this gives an error saying that I cannot run another process on the same thread.