請 問 , 在 V B . n e t 要 如 何 取 得 螢 幕 寬 ( 高 ) 度 ?
?
VB.NET 2005
MsgBox(My.Computer.Screen.Bounds.Width.ToString() & "X" & My.Computer.Screen.Bounds.Height.ToString())
VB.net 2003 呢?
2006-06-03 23:10:34 補充:
後來才發現我的是 VB.net 2003 :
我最後在MSDN找到了:VB.net 2003
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width