Nikola

Nikola

  • NA
  • 1
  • 0

How to set size of window of an external process?

Apr 7 2010 5:05 AM
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)