1
Answer

How to set size of window of an external process?

Nikola

Nikola

14y
3.1k
1
Hi,

I have an Windows Forms app and I open an external application from it,
for example MS Word:

Process myProcess = new Process();
myProcess.StartInfo.FileName = "winword";
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
myProcess.Start();


Is it possible to set window size for 'myProcess', lets say w: 1024px and h: 768px, and is it possible to disable maximize button.

Thanks in advance and best regards.
Answers (1)