Trigger standby mode

Does anyone know how to cause windows xp to go into standby mode from a vb program I dont want to download someone elses utility, I want o understand and write my own.

Thanx

Jerry Cicierega



Answer this question

Trigger standby mode

  • figuerres

    I think the newer VB versions have something like:

    System.Windows.Forms.Application.SetSuspendState(PowerState.Hibernate, True, False)



  • Trigger standby mode