Setting the resolution

M

Mufasa

We have a product that is running as a kiosk. Occasionaly, some yahoo goes
in and screws with the screen resolution. Is there some way I can force it
back to a resolution that I know works?

TIA - Jeff.
 
N

n.vaughan

Changing the screen resolution requires native API calls, this link should
help you:http://dotnet.mvps.org/dotnet/faqs/?id=setscreenresolution〈=en

By the way, I found that link within 2 seconds of searching Google :)

- Andrew

You can check for changes to the display resolution using the
SystemEvents class which i believe is in the Microsoft.Win32
namespace.

The appropriate event is: DisplaySettingsChanged

Note that the events in this class aren't called on the GUI thread so
you should do the 'InvokeRequired' check if you're updating any GUI
objects.

Nick.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Can you simply disable yahoo?

what I do not understand is how this screw the resolution of the screnn
 
P

Peter Duniho

Can you simply disable yahoo?

what I do not understand is how this screw the resolution of the screnn

He doesn't mean yahoo.com. He means a person to which he refers to as "a
yahoo". From "Gulliver's Travels", meaning "a crude or brutish person".

I'm sure he would be very happy if he could disable the yahoo.
Unfortunately, it's hard to know in advance which users you don't want
using your software. :)

Pete
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Peter Duniho said:
He doesn't mean yahoo.com. He means a person to which he refers to as "a
yahoo". From "Gulliver's Travels", meaning "a crude or brutish person".

I read them in spanish, no idea how it was translated :(

Thanks for pointing me that out. Everyday you learn something new
 

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