Screen resolution and screen resolution.

  • Thread starter Thread starter Mufasa
  • Start date Start date
M

Mufasa

I have some machines that apparently are having the screen resolution
changed based on group policies ( this is what my Network Engineer is
telling me ). These machines are at customer sites so we can't see what it
going on.

The problem is, or at least appears to be, that the code is returning
different dimensions then what is really out there. The code I'm using to
find out the dimensions is:

System.Drawing.Rectangle workingRectangle = Screen.PrimaryScreen.Bounds;
string lsScreenDimensions = workingRectangle.Width.ToString() + " x " +
workingRectangle.Height.ToString();

If I look at the screen dimensions, it appears to be different then what the
screen actually is set to.

Does this make sense?

Anybody have any thoughts.

TIA - Jeff.
 
Mufasa said:
I have some machines that apparently are having the screen resolution
changed based on group policies ( this is what my Network Engineer is
telling me ). These machines are at customer sites so we can't see what it
going on.

The problem is, or at least appears to be, that the code is returning
different dimensions then what is really out there. The code I'm using to
find out the dimensions is:

System.Drawing.Rectangle workingRectangle =
Screen.PrimaryScreen.Bounds;
string lsScreenDimensions = workingRectangle.Width.ToString() + " x " +
workingRectangle.Height.ToString();

If I look at the screen dimensions, it appears to be different then what
the screen actually is set to.

Does this make sense?

Anybody have any thoughts.

TIA - Jeff.
 
Back
Top