473,387 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Setting the resolution

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.
May 29 '07 #1
5 1370
Changing the screen resolution requires native API calls, this link should
help you: http://dotnet.mvps.org/dotnet/faqs/?...lution&lang=en

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

- Andrew

"Mufasa" <jb@nowhere.comwrote in message
news:ud**************@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.
May 29 '07 #2
On 29 May, 17:07, "Andrew Christiansen" <whisl...@gmail.comwrote:
Changing the screen resolution requires native API calls, this link should
help you:http://dotnet.mvps.org/dotnet/faqs/?...solution〈=en

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

- Andrew

"Mufasa" <j...@nowhere.comwrote in message

news:ud**************@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 forceit
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.

May 29 '07 #3
Hi,

Can you simply disable yahoo?

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

"Mufasa" <jb@nowhere.comwrote in message
news:ud**************@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.

May 29 '07 #4
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
May 29 '07 #5
Hi,

"Peter Duniho" <Np*********@nnowslpianmk.comwrote in message
news:op***************@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


May 30 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: fleemo17 | last post by:
My organization is developing a set of "standards" for websites built inhouse. The first question that comes to mind is what would be a good standard default size for <p> text? 12 point? Which...
11
by: Zlatko Matiæ | last post by:
Hello. I have a MS Access front-end working with PostgreSQL database. I have successfully created saved File DSN. My paa-through queries are referring to that file as well as linked tables. But I...
2
by: kmercer46 | last post by:
I'm building a application but it only work well on display setting 1024x768. I want to change display setting of monitor when form load from 800x600 (if display setting monitor of user is 800x600)...
14
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
6
by: John H Clark | last post by:
I am designing a site that requires AnonymousID. I set my web.config to allow this using <anonymousIdentification enable="true".../as recommended in the documentation. To verify the settings I...
1
by: JB | last post by:
Is there any way to set the screen resolution through code? I'd want to set it to something 800x600 through a program. We have people who reset the screen resolution to something the monitor won't...
1
by: nasima khan | last post by:
Hi, i am nasima. I have got a code for setting the screen resolution of my page, but i am unable to understand. Can any one give a complete data explanation of the below code. Sub ChangeRes(X...
6
mikek12004
by: mikek12004 | last post by:
I want to load a different swf in PHP based on the viewer's screen resolution. All would be fine if I could get the screen resolution in a variable in PHP. Problem is that after I done a bit of a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.