Yes the program I'm accessing does have a full screen modeThe first question is: Does that other program actually support going full screen? You can't magically imbue another program with full screen capabilities of it can't do it on its own.
I didn't think about that ,the program does have hot keys to go into full screen,and it doesn't treat the maximized as fullscreen,also doesn't accept command line, but the hot keys option might work it says tab + m for fullscreen I've never used sendkeys beforeThen you have some avenues to explore:
Does the program take command line arguments, and it's one of the arguments, an option to launch in fullscreen mode? If so, then there's your solution.
Does the the program treat the maximized window state as fullscreen? If so, then ShellExec the program passing in the flags that the program should run maximized?
Does the program have a hotkey to make it go into fullscreen mode? Is so, then launch the program and then use SendKeys to send the fullscreen hotkey.
Look in the table here for how to send a Tab: SendKeys.Send(String) Method (System.Windows.Forms)System.Diagnostics.Process.Start(@"c:\Users\mypc\Desktop\game.exe");
Thread.Sleep(2000);
SendKeys.Send("tab" + "m");
It works!!! Thank you so much for your help I wasn't aware of the symbolsLook in the table here for how to send a Tab: SendKeys.Send(String) Method (System.Windows.Forms)