Page 1 of 1

system.diagnostics

Posted: Wed May 16, 2012 5:01 pm
by omayer
ranorex 3.2.3 -Solution - console - kept getting error The name 'startInfo' does not exist in the current context (CS0103) -
i added reference syste.diagnostics but same error , here is code

// Maximize the window
startInfo.WindowStyle = ProcessWindowStyle.Maximized;

Thank you in advance
Beginner

Re: system.diagnostics

Posted: Wed May 16, 2012 5:10 pm
by Ciege
Did you cerate a ProcessStartInfo named startInfo?

Re: system.diagnostics

Posted: Wed May 16, 2012 6:48 pm
by omayer
Thank you so much Ciege,it works now after creating in a right scope
Beginner