Click here to Skip to main content
15,894,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: Turning of the monitors Pin
PrebKlok29-Jul-04 5:51
PrebKlok29-Jul-04 5:51 
GeneralRe: Turning of the monitors Pin
Nick Parker29-Jul-04 7:22
protectorNick Parker29-Jul-04 7:22 
GeneralRe: Turning of the monitors Pin
Heath Stewart29-Jul-04 5:44
protectorHeath Stewart29-Jul-04 5:44 
GeneralRe: Turning of the monitors Pin
Nick Parker29-Jul-04 7:20
protectorNick Parker29-Jul-04 7:20 
GeneralRe: Turning of the monitors Pin
Heath Stewart29-Jul-04 9:00
protectorHeath Stewart29-Jul-04 9:00 
GeneralRe: Turning of the monitors Pin
Nick Parker29-Jul-04 9:33
protectorNick Parker29-Jul-04 9:33 
GeneralRe: Turning of the monitors Pin
Heath Stewart29-Jul-04 9:50
protectorHeath Stewart29-Jul-04 9:50 
GeneralRe: Turning of the monitors Pin
PrebKlok30-Jul-04 0:50
PrebKlok30-Jul-04 0:50 
Ok, would this be the way to go?
<br />
object [] arg = {6};<br />
ManagementClass mc = new ManagementClass("Win32_DesktopMonitor");<br />
mc.InvokeMethod("SetPowerState",  arg);<br />


problem is that I get the an exception:

An unhandled exception of type 'System.Management.ManagementException' occurred in system.management.dll
Additional information: This method is not implemented in any class
GeneralRe: Turning of the monitors Pin
Heath Stewart30-Jul-04 3:33
protectorHeath Stewart30-Jul-04 3:33 
GeneralRe: Turning of the monitors Pin
PrebKlok30-Jul-04 4:01
PrebKlok30-Jul-04 4:01 
GeneralRe: Turning of the monitors Pin
Heath Stewart30-Jul-04 4:23
protectorHeath Stewart30-Jul-04 4:23 
GeneralRe: Turning of the monitors Pin
PrebKlok30-Jul-04 4:53
PrebKlok30-Jul-04 4:53 
GeneralRe: Turning of the monitors Pin
Heath Stewart30-Jul-04 5:01
protectorHeath Stewart30-Jul-04 5:01 
GeneralAsynchronous Pin
sreejith ss nair29-Jul-04 2:17
sreejith ss nair29-Jul-04 2:17 
GeneralRe: Asynchronous Pin
SOCM_FP_CPP29-Jul-04 3:05
SOCM_FP_CPP29-Jul-04 3:05 
GeneralRe: Asynchronous Pin
Heath Stewart29-Jul-04 5:02
protectorHeath Stewart29-Jul-04 5:02 
GeneralRe: Asynchronous Pin
sreejith ss nair29-Jul-04 20:29
sreejith ss nair29-Jul-04 20:29 
GeneralRe: Asynchronous Pin
Heath Stewart30-Jul-04 3:19
protectorHeath Stewart30-Jul-04 3:19 
GeneralRe: Asynchronous Pin
sreejith ss nair30-Jul-04 3:36
sreejith ss nair30-Jul-04 3:36 
GeneralRe: Asynchronous Pin
Heath Stewart30-Jul-04 4:11
protectorHeath Stewart30-Jul-04 4:11 
GeneralRe: Asynchronous Pin
sreejith ss nair30-Jul-04 4:21
sreejith ss nair30-Jul-04 4:21 
GeneralRe: Asynchronous Pin
Heath Stewart30-Jul-04 4:57
protectorHeath Stewart30-Jul-04 4:57 
GeneralRe: Asynchronous Pin
sreejith ss nair30-Jul-04 3:36
sreejith ss nair30-Jul-04 3:36 
GeneralRe: Asynchronous Pin
Tom Larsen29-Jul-04 5:42
Tom Larsen29-Jul-04 5:42 
GeneralQuestion on Porting Pin
SatyaDY29-Jul-04 0:40
SatyaDY29-Jul-04 0:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.