[nsbasic-ce] Re: or, disable the power button

2010-05-26 Thread Stewart M
Success! Kind of. Found this: http://msdn.microsoft.com/EN-US/library/aa908497.aspx And after futzing around with the code came up with this... Declare "sub PowerPolicyNotify Lib ""Coredll"" (ByVal PPN_UNATTENDEDMODE as long, ByVal PPN_TF as Boolean)" PowerPolicyNotify 3, True 'power butto

Re: [nsbasic-ce] Re: or, disable the power button

2010-05-26 Thread George Henne
I can't see how you would do this from NS Basic. Instead, could you have your program save its state whenever something significant happens? >and more here... > >http://www.codeproject.com/KB/windows/WiMoQueue.aspx > >--- In nsbasic-ce@yahoogroups.com, "Stewart M" wrote: >> >> Or, anyone have an

[nsbasic-ce] Re: or, disable the power button

2010-05-25 Thread Stewart M
and more here... http://www.codeproject.com/KB/windows/WiMoQueue.aspx --- In nsbasic-ce@yahoogroups.com, "Stewart M" wrote: > > Or, anyone have any success disabling the power button while your program is > running? > -- You received this message because you are subscribed to the Google Grou

[nsbasic-ce] Re: or, disable the power button

2010-05-25 Thread Stewart M
Found this link, not quite sure how to port it to NSbasic, but it's a lead. http://windowsmobiledn.com/forum/viewtopic.php?t=10858 --- In nsbasic-ce@yahoogroups.com, "Stewart M" wrote: > > Or, anyone have any success disabling the power button while your program is > running? > -- You rece