I am creating a program which I will use as a kind of alarm clock. I can put the computer to sleep(using the C4F Powermanager) but don't know how to wake it up again. Here is my code at the moment:
If ListBox2.SelectedItem = "Stand By" Then PowerManager1.StandbyComputer(True, False) ElseIf ListBox2.SelectedItem = "Hibernate" Then PowerManager1.HibernateComputer(False) ElseIf ListBox2.SelectedItem = "Lock Computer" Then PowerManager1.LockWorkStation() Else End If
The user chooses with a listbox what to happen when the event is triggered (touchscreen). Now all I need to do is get the computer to wake up again..