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 button only turns off back light PowerPolicyNotify 3, False 'power button behaves normally Hopefully this is helpful to others as well. thanks. --- In [email protected], "George Henne" <g...@...> wrote: > > 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 [email protected], "Stewart M" <stew@> wrote: > >> > >> Or, anyone have any success disabling the power button while your > >program is running? > >> > > > > > > > > > >------------------------------------ > > > >Yahoo! Groups Links > > > > > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
