...
> 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.
On 29 May, 17:07, "Andrew Christiansen" <whisl
@gmail.com> wrote:
> 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
> "Mufasa" <j@nowhere.com> wrote in message
> news:udN36agoHHA.4512@TK2MSFTNGP03.phx.gbl...
> > 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.
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.
-----------------------------------------------Reply-----------------------------------------------
Hi,
Can you simply disable yahoo?
what I do not understand is how this screw the resolution of the screnn
"Mufasa" <j
@nowhere.com> wrote in message
news:udN36agoHHA.4512@TK2MSFTNGP03.phx.gbl...
> 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.
On Tue, 29 May 2007 10:08:00 -0700, Ignacio Machin ( .NET/ C# MVP )
<machin TA <"laceupsolutions.com>"> wrote:
> 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
-----------------------------------------------Reply-----------------------------------------------
Hi,
"Peter Duniho" <NpOeStPe
@nnowslpianmk.com> wrote in message
news:op.ts3mgtc18jd0ej@petes-computer.local...
> On Tue, 29 May 2007 10:08:00 -0700, Ignacio Machin ( .NET/ C# MVP )
> <machin TA <"laceupsolutions.com>"> wrote:
>> 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 read them in spanish, no idea how it was translated :(
Thanks for pointing me that out. Everyday you learn something new