02-10-2011 11:31 AM
How can I use LabVIEW to launch an .exe application such as on screen keyboard and intialize its position and size?
I am using Windows XP system.
I know I can use System Exec.vi to launch an exe application and close it, but how can I control its position such as running in the right-top corner when it is launched?
Solved! Go to Solution.
02-11-2011 01:26 AM
Hi RogerLu,
you can use the win API (user32.dll) to get the handle of the window. If you have the handle, then you can move the window with "moveWindow" function.
Mike
02-11-2011 09:57 AM
Thank you, Mike