Dear Team,
My vee-program is opening a exe-file in a new window with the Process.Start-Methode (System.Diagnostics).
Afterwards, I have to click on the vee-window, to enable keyboard inputs in my vee-programm again.
(--> it then becomes active window with distintive borders).
Would this also be possible with a code? (ShowWindow function doesn't work for me)
Thanks in advance,
Jojo
My vee-program is opening a exe-file in a new window with the Process.Start-Methode (System.Diagnostics).
Afterwards, I have to click on the vee-window, to enable keyboard inputs in my vee-programm again.
(--> it then becomes active window with distintive borders).
Would this also be possible with a code? (ShowWindow function doesn't work for me)
Thanks in advance,
Jojo
I thought I had a working example but I didn't - instead I have part of a potential solution: find the running process ( of the VEE application ). When you have that, you can use the window handle to call SwitchToThisWindow.
I have attached an example - most of the code was from someone else ( I can probably guess who - nice and neat code too! ) and I have extended the kernel calls list to include the method and hardcoded a window handle just to check it switched to another running application.
Mike
added attachment!