VB Code:
  1. Private type RECT
  2.     Left As Long
  3.     Top As Long
  4.     Right As Long
  5.     Bottom As Long
  6.     End Structure
  7.  
  8.     Sub PositionForm()
  9.         Dim WindowRect As RECT
  10.         SystemParametersInfo(SPI_GETWORKAREA, 0, WindowRect, 0)
  11.         Me.Top = WindowRect.Bottom * Screen.TwipsPerPixelY - Form1.Height
  12.         Me.Left = WindowRect.Right * Screen.TwipsPerPixelX - Form1.Width
  13.     End Sub
this will place the form above the taskbar, but it gives out a ton of errors. Does anyone know?