Apr 20, 2005 #1 bigtimmin MIS Apr 12, 2005 125 US In VB6, you can use the Sysinfo class to determine the WorkareaHeight, Top, Left and Width. Does anyone know how to get this information using VB.Net?
In VB6, you can use the Sysinfo class to determine the WorkareaHeight, Top, Left and Width. Does anyone know how to get this information using VB.Net?
Apr 21, 2005 #2 shatch Programmer Jul 9, 2004 346 GB I think its as easy as Dim width As Integer = Screen.PrimaryScreen.Bounds.Width Dim height As Integer = Screen.PrimaryScreen.Bounds.Height Upvote 0 Downvote
I think its as easy as Dim width As Integer = Screen.PrimaryScreen.Bounds.Width Dim height As Integer = Screen.PrimaryScreen.Bounds.Height
Apr 21, 2005 #3 SHelton Programmer Jun 10, 2003 541 GB Using Screen.PrimaryScreen.Height will include the taskbar area. If you want the true working area use: Code: MessageBox.Show(SystemInformation.WorkingArea.ToString()) Upvote 0 Downvote
Using Screen.PrimaryScreen.Height will include the taskbar area. If you want the true working area use: Code: MessageBox.Show(SystemInformation.WorkingArea.ToString())