Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
GeneralRe: request Pin
Nader Elshehabi3-Dec-06 8:15
Nader Elshehabi3-Dec-06 8:15 
AnswerRe: request Pin
Lord Kixdemp1-Dec-06 15:16
Lord Kixdemp1-Dec-06 15:16 
AnswerRe: request Pin
Mairaaj Khan1-Dec-06 20:36
professionalMairaaj Khan1-Dec-06 20:36 
AnswerRe: request Pin
ednrgc4-Dec-06 4:50
ednrgc4-Dec-06 4:50 
GeneralRe: request Pin
amirafouad214-Dec-06 8:54
amirafouad214-Dec-06 8:54 
QuestionRead one character at a time from a string Pin
kani981-Dec-06 11:32
kani981-Dec-06 11:32 
AnswerRe: Read one character at a time from a string Pin
Scott Dorman1-Dec-06 12:10
professionalScott Dorman1-Dec-06 12:10 
AnswerRe: Read one character at a time from a string Pin
Luc Pattyn1-Dec-06 13:06
sitebuilderLuc Pattyn1-Dec-06 13:06 
AnswerRe: Read one character at a time from a string Pin
Paul Conrad1-Dec-06 15:00
professionalPaul Conrad1-Dec-06 15:00 
QuestionHow to create ODBC DSN entries programmatically in .NET? Pin
bvennelaganti1-Dec-06 9:46
bvennelaganti1-Dec-06 9:46 
AnswerRe: How to create ODBC DSN entries programmatically in .NET? Pin
Eric Dahlvang1-Dec-06 10:10
Eric Dahlvang1-Dec-06 10:10 
GeneralRe: How to create ODBC DSN entries programmatically in .NET? Pin
bvennelaganti2-Dec-06 12:52
bvennelaganti2-Dec-06 12:52 
QuestionHow to control the real dimension on screen? Pin
gshen1-Dec-06 7:43
gshen1-Dec-06 7:43 
AnswerRe: How to control the real dimension on screen? Pin
Ravi Bhavnani1-Dec-06 8:08
professionalRavi Bhavnani1-Dec-06 8:08 
GeneralRe: How to control the real dimension on screen? Pin
gshen1-Dec-06 8:47
gshen1-Dec-06 8:47 
GeneralRe: How to control the real dimension on screen? Pin
Ravi Bhavnani1-Dec-06 8:59
professionalRavi Bhavnani1-Dec-06 8:59 
AnswerRe: How to control the real dimension on screen? Pin
CPallini1-Dec-06 11:03
mveCPallini1-Dec-06 11:03 
AnswerRe: How to control the real dimension on screen? Pin
Luc Pattyn1-Dec-06 11:31
sitebuilderLuc Pattyn1-Dec-06 11:31 
Hi,

to provide an acurate display, the operating system needs to know the resolution of your monitor.
For MS Windows (XP and others) the default value is set to 96 dpi, which used to be a good
average value before, but may be well below the actual value for a modern monitor.

The theoretical value you need equals the length of your monitor's diagonal in pixels
(this is the square root of horpixels squared plus vert pixels squared !) divided by
same diagonal's length in inches (14, 15, 17, 19, whatever).

Examples: 17 inch monitor with 1280*1024 pixels gives SQRT(1280*1280+1024*1024)/17 = 96.4 dpi !
but 15 inch monitor with 1400*1050 pixels gives 116.7 dpi

To change the setting: right-click the desktop, choose Display Properties, click Advanced button, and look for the DPI Settings combobox. The custom setting is expressed in % not in dpi,
so whatever you calculated you should multiply by 100/96 to get the right percentage.

Warning: if you never cared before, and now increase the dpi setting, every item on your
desktop will become smaller, but it is a required step to get acurate dimensions.

Remark: to counteract the reduction of font sizes, you can ask Windows to use larger fonts
on the desktop (see Display Properties, Appearance, Font size); you can also ask it to use
larger icons...



Luc Pattyn

QuestionRe: How to control the real dimension on screen? Pin
gshen4-Dec-06 6:21
gshen4-Dec-06 6:21 
AnswerRe: How to control the real dimension on screen? Pin
Luc Pattyn4-Dec-06 8:53
sitebuilderLuc Pattyn4-Dec-06 8:53 
GeneralRe: How to control the real dimension on screen? Pin
gshen4-Dec-06 9:04
gshen4-Dec-06 9:04 
GeneralRe: How to control the real dimension on screen? Pin
Luc Pattyn4-Dec-06 9:15
sitebuilderLuc Pattyn4-Dec-06 9:15 
GeneralRe: How to control the real dimension on screen? Pin
gshen4-Dec-06 9:28
gshen4-Dec-06 9:28 
GeneralRe: How to control the real dimension on screen? Pin
Luc Pattyn4-Dec-06 10:05
sitebuilderLuc Pattyn4-Dec-06 10:05 
QuestionDatabase Wizard VS Scripting Pin
mfcuser1-Dec-06 7:15
mfcuser1-Dec-06 7:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.