Screen resolution and screen resolution.

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.
 
M

Mufasa

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.
 

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