Hello Tom,
Sure, my fault, missed web content
there is a sample for ASP.net
ARGH! I have a c#.net web application. I need to retrieve screen
height and width into a variable. I know this is incredibly stupid
but HOW THE HECK DO I DO IT??!?!?!
What kind of resolution, there are several one :)
See
SystemInformation.PrimaryMonitorSize
SystemInformation.WorkingArea
SystemInformation.VirtualScreen
Screen.PrimaryScreen.Bounds
Screen.PrimaryScreen.WorkingArea
TP> I doubt any of that is what he wants since that would get the
TP> resolution of the server you are running on and I would expect he
TP> wants the cleint resolution (note he did say web application). This
TP> would need to be done in client side script that populates variables
TP> that would then be posted back to the server for reading. The
TP> values to query in javascript would be window.screen.width and
TP> window.screen.height.
TP>
---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche