Open a program on second monitor

Micah

Senior member
Dec 30, 2000
329
0
0
I'm writing a program that has to spawn off another windows .exe I want the second program to open on a second monitor, if it's available.

Does anyone know a way to do this, or if not, is there at least a way to move a window using the command-line or system calls?

Thanks,
Micah


Edit: I am writing in C#, so if there are any C# (.NET) specific ways of doing this, they would work as well. Just remember, the second program is a separate executable, not a window that I'm creating.