system.diagnostics

Class library usage, coding and language questions.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

system.diagnostics

Post by omayer » Wed May 16, 2012 5:01 pm

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
Tipu

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: system.diagnostics

Post by Ciege » Wed May 16, 2012 5:10 pm

Did you cerate a ProcessStartInfo named startInfo?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: system.diagnostics

Post by omayer » Wed May 16, 2012 6:48 pm

Thank you so much Ciege,it works now after creating in a right scope
Beginner
Tipu