Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: logs window with a lot of lines Pin
IWannaTalk13-Sep-10 3:02
IWannaTalk13-Sep-10 3:02 
GeneralRe: logs window with a lot of lines Pin
Luc Pattyn13-Sep-10 3:10
sitebuilderLuc Pattyn13-Sep-10 3:10 
GeneralRe: logs window with a lot of lines Pin
IWannaTalk13-Sep-10 21:48
IWannaTalk13-Sep-10 21:48 
GeneralRe: logs window with a lot of lines Pin
Luc Pattyn13-Sep-10 23:44
sitebuilderLuc Pattyn13-Sep-10 23:44 
QuestionCreating a p7m file. Pin
shadowzz12345613-Sep-10 1:08
shadowzz12345613-Sep-10 1:08 
QuestionPrinting: Slow access to PaperSize Pin
OriginalGriff12-Sep-10 23:57
mveOriginalGriff12-Sep-10 23:57 
AnswerRe: Printing: Slow access to PaperSize Pin
Luc Pattyn13-Sep-10 2:10
sitebuilderLuc Pattyn13-Sep-10 2:10 
GeneralRe: Printing: Slow access to PaperSize Pin
OriginalGriff13-Sep-10 3:58
mveOriginalGriff13-Sep-10 3:58 
Thanks Luc, I thought I was going slightly mad.
Now try it to a non-network printer and see those times drop like a stone!
I've done a bit more Googling, and it seems this is an old-but-known feature of XP / Vista

Luc Pattyn wrote:
PageSettings dps=page.Document.DefaultPageSettings;
Size pSize=dps.PaperSize;
Width=pSize.Width;
HeightpSize.Height;

This is the way I would normally write it - I don't trust compiler optimisers to spot commonality like that... Laugh | :laugh:

What I will actually do is cache the PaperSize info as part of my class and reload when the user changes the printer settings.
It was just such a silly result that I wanted to check I hadn't suddenly lost the plot - it is Monday, after all!
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

GeneralRe: Printing: Slow access to PaperSize Pin
Luc Pattyn13-Sep-10 4:10
sitebuilderLuc Pattyn13-Sep-10 4:10 
AnswerRe: Printing: Slow access to PaperSize Pin
Bernhard Hiller13-Sep-10 2:43
Bernhard Hiller13-Sep-10 2:43 
QuestionControl in front of another one at all times Pin
fdsfsa76f7sa612-Sep-10 22:19
fdsfsa76f7sa612-Sep-10 22:19 
AnswerRe: Control in front of another one at all times Pin
#realJSOP13-Sep-10 0:16
mve#realJSOP13-Sep-10 0:16 
GeneralRe: Control in front of another one at all times Pin
fdsfsa76f7sa613-Sep-10 0:48
fdsfsa76f7sa613-Sep-10 0:48 
GeneralRe: Control in front of another one at all times Pin
#realJSOP13-Sep-10 4:58
mve#realJSOP13-Sep-10 4:58 
AnswerRe: Control in front of another one at all times Pin
Luc Pattyn13-Sep-10 2:16
sitebuilderLuc Pattyn13-Sep-10 2:16 
GeneralRe: Control in front of another one at all times Pin
fdsfsa76f7sa613-Sep-10 2:39
fdsfsa76f7sa613-Sep-10 2:39 
GeneralRe: Control in front of another one at all times Pin
Luc Pattyn13-Sep-10 3:18
sitebuilderLuc Pattyn13-Sep-10 3:18 
GeneralRe: Control in front of another one at all times Pin
fdsfsa76f7sa613-Sep-10 9:20
fdsfsa76f7sa613-Sep-10 9:20 
GeneralRe: Control in front of another one at all times Pin
Luc Pattyn13-Sep-10 9:25
sitebuilderLuc Pattyn13-Sep-10 9:25 
GeneralRe: Control in front of another one at all times Pin
fdsfsa76f7sa613-Sep-10 10:56
fdsfsa76f7sa613-Sep-10 10:56 
GeneralRe: Control in front of another one at all times Pin
Luc Pattyn13-Sep-10 11:20
sitebuilderLuc Pattyn13-Sep-10 11:20 
Questionhow to list all the form name except mdi name Pin
Tridip Bhattacharjee12-Sep-10 22:10
professionalTridip Bhattacharjee12-Sep-10 22:10 
AnswerRe: how to list all the form name except mdi name Pin
Pete O'Hanlon12-Sep-10 22:15
mvePete O'Hanlon12-Sep-10 22:15 
Questioninstalling font programtically Pin
mobasher12-Sep-10 21:34
mobasher12-Sep-10 21:34 
AnswerRe: installing font programtically Pin
Luc Pattyn13-Sep-10 2:21
sitebuilderLuc Pattyn13-Sep-10 2:21 

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.