G Guest Apr 30, 2004 #1 I want to know the screen resolution before launch my VB .NET windows form so the form can fit the screen nicely. Is that possible? Thanks.
I want to know the screen resolution before launch my VB .NET windows form so the form can fit the screen nicely. Is that possible? Thanks.
E Eric Fleet Apr 30, 2004 #2 Screen.PrimaryScreen.Bounds.Size.Width Screen.PrimaryScreen.Bounds.Size.Height -----Original Message----- I want to know the screen resolution before launch my Click to expand... VB .NET windows form so the form can fit the screen nicely. Is that possible? Thanks.
Screen.PrimaryScreen.Bounds.Size.Width Screen.PrimaryScreen.Bounds.Size.Height -----Original Message----- I want to know the screen resolution before launch my Click to expand... VB .NET windows form so the form can fit the screen nicely. Is that possible? Thanks.
H Herfried K. Wagner [MVP] Apr 30, 2004 #3 * "=?Utf-8?B?Q2hlbg==?= said: I want to know the screen resolution before launch my VB .NET windows form so the form can fit the screen nicely. Click to expand... Monitor size: 'SystemInformation.PrimaryMonitorSize' 'SystemInformation.WorkingArea' 'SystemInformation.VirtualScreen' 'Screen.PrimaryScreen.Bounds' 'Screen.PrimaryScreen.WorkingArea' When using multiple monitors: 'Screen.AllScreens'
* "=?Utf-8?B?Q2hlbg==?= said: I want to know the screen resolution before launch my VB .NET windows form so the form can fit the screen nicely. Click to expand... Monitor size: 'SystemInformation.PrimaryMonitorSize' 'SystemInformation.WorkingArea' 'SystemInformation.VirtualScreen' 'Screen.PrimaryScreen.Bounds' 'Screen.PrimaryScreen.WorkingArea' When using multiple monitors: 'Screen.AllScreens'