Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: folder path syntax? Pin
John Fisher15-Mar-04 4:15
John Fisher15-Mar-04 4:15 
AnswerRe: folder path syntax? Pin
Dave Kreskowiak15-Mar-04 7:05
mveDave Kreskowiak15-Mar-04 7:05 
Questionhow can i run client software from web? Pin
agakyurek15-Mar-04 3:15
agakyurek15-Mar-04 3:15 
AnswerRe: how can i run client software from web? Pin
Heath Stewart15-Mar-04 5:14
protectorHeath Stewart15-Mar-04 5:14 
GeneralPrinting a blank page Pin
Shaun Becker15-Mar-04 2:47
Shaun Becker15-Mar-04 2:47 
GeneralRe: Printing a blank page Pin
John Fisher15-Mar-04 4:13
John Fisher15-Mar-04 4:13 
GeneralRe: Printing a blank page Pin
Shaun Becker15-Mar-04 4:36
Shaun Becker15-Mar-04 4:36 
GeneralRe: Printing a blank page Pin
John Fisher15-Mar-04 6:09
John Fisher15-Mar-04 6:09 
Well, I haven't done Win32 printing for a while, but here are a few pointers/questions.

* Why use Win32 printing from C#, when the .NET Framework provides an easier method?

* When using Win32 routines, you need to check return codes, and call GetLastError() -- especially when things aren't working as you expect. It is quite likely that one of the two will give you a strong hint.

* Check basic things like - Is the text color white? - Am I really putting the text where I thought I was? - Can my printer even print in the area that I'm placing the text, or is it cutting that off? - Am I getting back a valid font?

* You are simultaneously dealing with Interop issues and Win32 issues. Unless you understand them both well, the confusion is going to be much greater than if you were dealing with only on at a time.

John

"You said a whole sentence with no words in it, and I understood you!" -- my wife as she cries about slowly becoming a geek.

GeneralRe: Printing a blank page Pin
Shaun Becker15-Mar-04 8:21
Shaun Becker15-Mar-04 8:21 
GeneralRe: Printing a blank page Pin
Shaun Becker15-Mar-04 9:25
Shaun Becker15-Mar-04 9:25 
GeneralRe: Printing a blank page Pin
John Fisher15-Mar-04 16:55
John Fisher15-Mar-04 16:55 
GeneralCheckbox in Subitem of ListView Pin
katetsai15-Mar-04 2:44
katetsai15-Mar-04 2:44 
GeneralRe: Checkbox in Subitem of ListView Pin
Heath Stewart15-Mar-04 5:11
protectorHeath Stewart15-Mar-04 5:11 
GeneralRe: Checkbox in Subitem of ListView Pin
katetsai15-Mar-04 5:58
katetsai15-Mar-04 5:58 
GeneralRe: Checkbox in Subitem of ListView Pin
Heath Stewart15-Mar-04 6:14
protectorHeath Stewart15-Mar-04 6:14 
GeneralRe: Checkbox in Subitem of ListView Pin
John Fisher15-Mar-04 6:15
John Fisher15-Mar-04 6:15 
GeneralRe: Checkbox in Subitem of ListView Pin
Heath Stewart15-Mar-04 6:31
protectorHeath Stewart15-Mar-04 6:31 
GeneralLocalizing standard types in PropertyGrid Pin
i_blazhko15-Mar-04 1:49
i_blazhko15-Mar-04 1:49 
GeneralRe: Localizing standard types in PropertyGrid Pin
Heath Stewart15-Mar-04 5:10
protectorHeath Stewart15-Mar-04 5:10 
GeneralRe: Localizing standard types in PropertyGrid Pin
i_blazhko15-Mar-04 22:42
i_blazhko15-Mar-04 22:42 
GeneralRe: Localizing standard types in PropertyGrid Pin
Heath Stewart16-Mar-04 2:48
protectorHeath Stewart16-Mar-04 2:48 
GeneralRe: Localizing standard types in PropertyGrid Pin
i_blazhko16-Mar-04 3:04
i_blazhko16-Mar-04 3:04 
GeneralGet the true icons of a file Pin
Jonathan Slenders15-Mar-04 0:29
Jonathan Slenders15-Mar-04 0:29 
GeneralRe: Get the true icons of a file Pin
SimonS15-Mar-04 0:56
SimonS15-Mar-04 0:56 
GeneralRe: Get the true icons of a file Pin
Heath Stewart15-Mar-04 5:09
protectorHeath Stewart15-Mar-04 5:09 

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.