dual monitors

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to determine whether a computer is connected to dual monitors
with VB.NET code? Thanks,

Strah
 
Is there a way to determine whether a computer is connected to dual monitors
with VB.NET code?

Dim iIndex as Integer
Dim Screens() As System.Windows.Forms.Screen = _
System.Windows.Forms.Screen.AllScreens

For iIndex = 0 to screens.GetUpperBound(0)
' Do whatever you want
Next

Matt
 

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

Back
Top