ok i got my hotkey working
VB.NET Code:
  1. Private Declare Function RegisterHotKey Lib "user32" (ByVal hwnd As IntPtr, ByVal id As Integer, ByVal fsModifiers As Integer, ByVal vk As Integer) As Integer
  2.     Private Declare Function UnregisterHotKey Lib "user32" (ByVal hwnd As IntPtr, ByVal id As Integer) As Integer
  3.  
  4.     Private Const WM_HOTKEY As Integer = &H312
  5.  
  6.     Private Const MOD_ALT As Integer = &H1
  7.     Private Const MOD_CONTROL As Integer = &H2
  8.     Private Const MOD_SHIFT As Integer = &H4
  9.  
  10.     Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
  11.         UnregisterHotKey(Me.Handle, 0)
  12.     End Sub
  13.  
  14.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  15.         RegisterHotKey(Me.Handle, 0, 0, Asc("C"))
  16.     End Sub
  17.  
  18.     Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
  19.  
  20.         If m.Msg = WM_HOTKEY Then
  21.            'DO WHATEVER HERE
  22.         MyBase.WndProc(m)
  23.  
  24.     End Sub
Ok there i have one that is when u press C, i also want another for when you press R but i dont know how to have two at the same time, some help please. Cheers.
EDIT: I need to know the IF statement for it as well please.