vb desktop

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
 
O

One Handed Man \( OHM - Terry Burns \)

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
 
H

Herfried K. Wagner [MVP]

* "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'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top