G
Guest
I'm developing a stand-alone windows application i VB.NET. The app starts
another application via the Process class in background (no window yet) and
then establishes a socket communication between them.
The main-app has a button which shall activate the 2nd app to display it's
main frame. Arguments are sent via the socket and the 2nd app responds and
shows the desired frame.
And now to my problem: everything works fine except that the 2nd app is not
becoming the active application, it is displayed under the main app's window.
How can I force the 2nd app to become the active application?
Two desired solution alternatives could be:
1) the main app forces the 2nd app to be the active application (via the
Process instance)
2) the 2nd app forces himself to be the active application
I hope that someone has hints to this!
another application via the Process class in background (no window yet) and
then establishes a socket communication between them.
The main-app has a button which shall activate the 2nd app to display it's
main frame. Arguments are sent via the socket and the 2nd app responds and
shows the desired frame.
And now to my problem: everything works fine except that the 2nd app is not
becoming the active application, it is displayed under the main app's window.
How can I force the 2nd app to become the active application?
Two desired solution alternatives could be:
1) the main app forces the 2nd app to be the active application (via the
Process instance)
2) the 2nd app forces himself to be the active application
I hope that someone has hints to this!