Visual Basic: SysInfo Control
WorkAreaWidth Property
Returns the width of the visible desktop adjusted for the Windows taskbar. Not available at design time.
Syntax
object.WorkAreaWidth
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Remarks
When the taskbar appears along the left or right edge of the screen, the WorkAreaWidth property tells you the width of the visible desktop minus the width of the taskbar.