I just had a quick go and got this code working in a winform app:

vb Code:
  1. Const SC_MONITORPOWER As Integer = 61808
  2.     Const WM_SYSCOMMAND As Integer = 274
  3.     Const MONITOR_OFF As Integer = 2
  4.  
  5.     Partial Public Class API
  6.         <System.Runtime.InteropServices.DllImportAttribute("user32.dll", EntryPoint:="SendMessage")> _
  7.         Public Shared Function SendMessage(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Integer
  8.         End Function
  9.     End Class
  10.  
  11.  
  12.     Private Sub Offbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Offbtn.Click
  13.         API.SendMessage(Me.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_STANDBY)
  14.     End Sub

Turns the monitor off as soon as Offbtn is clicked