I am trying to make my form the full width of the screen.

I am using the api call:
Code:
Public Declare Function GetSystemMetrics Lib "user32" (ByVal nIndex As Long) As Long


Public Const SM_CXSCREEN = 0
Public Const SM_CYSCREEN = 1
which is working correctly, returning 1024, but then when i set my form width to this, it is small.

I believe the problem is that the form width is of a different unit then pixel?? Here is the code I am using to set the width:
Code:
formName.Width = GetSystemMetrics(SM_CXSCREEN)
Am I correct that the units are wrong, and if so how do i convert?