vb desktop

  • Thread starter Thread starter Stephen Martinelli
  • Start date Start date
S

Stephen Martinelli

Hi all

I want to have a form im working on take the complete desktop area......
task bar and all... anyone know the syntax or point me into the right
direction?


Steve
 
In Load Event

Me.Location = New Point(0, 0)

Me.Size = New Size(Screen.PrimaryScreen.WorkingArea.Width,
Screen.PrimaryScreen.WorkingArea.Height)



HTH


--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
* "Stephen Martinelli said:
I want to have a form im working on take the complete desktop area......
task bar and all... anyone know the syntax or point me into the right
direction?

Monitor size:

'SystemInformation.PrimaryMonitorSize'
'SystemInformation.WorkingArea'
'SystemInformation.VirtualScreen'
'Screen.PrimaryScreen.Bounds'
'Screen.PrimaryScreen.WorkingArea'

When using multiple monitors:

'Screen.AllScreens'
 
Back
Top