Click here to Skip to main content
15,908,842 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use SetForegroundWindow in C#...?? Pin
Member 94012511-Mar-04 15:58
Member 94012511-Mar-04 15:58 
GeneralRe: How to use SetForegroundWindow in C#...?? Pin
Heath Stewart12-Mar-04 2:58
protectorHeath Stewart12-Mar-04 2:58 
QuestionHow to serialize static variables of a class ? Pin
Eric Marchesin10-Mar-04 21:54
Eric Marchesin10-Mar-04 21:54 
AnswerRe: How to serialize static variables of a class ? Pin
Daniel Turini11-Mar-04 2:55
Daniel Turini11-Mar-04 2:55 
GeneralRe: How to serialize static variables of a class ? Pin
Eric Marchesin11-Mar-04 4:44
Eric Marchesin11-Mar-04 4:44 
GeneralRe: How to serialize static variables of a class ? Pin
Daniel Turini11-Mar-04 6:14
Daniel Turini11-Mar-04 6:14 
QuestionHow to set defaultprinter Pin
yu-yu10-Mar-04 21:01
yu-yu10-Mar-04 21:01 
AnswerRe: How to set defaultprinter Pin
Heath Stewart11-Mar-04 4:04
protectorHeath Stewart11-Mar-04 4:04 
What didn't work about it? Give us a clue. Was an exception thrown and written out to the console in your catch block? Was the printer found? Make sure you're doing checks to see if an object is null, too. What if your printer object wasn't found. Since your try-catch block doesn't encompas everything, a NullReferenceException would've gone uncaught.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: How to set defaultprinter Pin
yu-yu11-Mar-04 15:57
yu-yu11-Mar-04 15:57 
GeneralRe: How to set defaultprinter Pin
Heath Stewart12-Mar-04 2:56
protectorHeath Stewart12-Mar-04 2:56 
GeneralRe: How to set defaultprinter Pin
yu-yu12-Mar-04 5:10
yu-yu12-Mar-04 5:10 
GeneralRe: How to set defaultprinter Pin
Heath Stewart12-Mar-04 5:15
protectorHeath Stewart12-Mar-04 5:15 
GeneralRe: How to set defaultprinter Pin
yu-yu14-Mar-04 16:43
yu-yu14-Mar-04 16:43 
QuestionTextbox input Focus? Pin
Reinier van de Wetering10-Mar-04 20:42
Reinier van de Wetering10-Mar-04 20:42 
AnswerRe: Textbox input Focus? Pin
Syed Abdul Khader11-Mar-04 1:56
Syed Abdul Khader11-Mar-04 1:56 
GeneralError Finding right SqlCollation !! Pin
MasudM10-Mar-04 20:23
MasudM10-Mar-04 20:23 
GeneralRe: Error Finding right SqlCollation !! Pin
Heath Stewart11-Mar-04 4:00
protectorHeath Stewart11-Mar-04 4:00 
GeneralRe: Error Finding right SqlCollation !! Pin
MasudM11-Mar-04 4:31
MasudM11-Mar-04 4:31 
GeneralDynamically-created assemblies from run-time compiled code Pin
Nathan Ridley10-Mar-04 19:28
Nathan Ridley10-Mar-04 19:28 
GeneralRe: Dynamically-created assemblies from run-time compiled code Pin
Nathan Ridley10-Mar-04 19:52
Nathan Ridley10-Mar-04 19:52 
GeneralUsing C# controls in MFC Pin
Jain Mohit10-Mar-04 18:49
Jain Mohit10-Mar-04 18:49 
GeneralRe: Using C# controls in MFC Pin
Heath Stewart11-Mar-04 3:53
protectorHeath Stewart11-Mar-04 3:53 
GeneralSimple calculation problem with decimal value drivin me NUTS!!!! Pin
ASGill10-Mar-04 18:11
ASGill10-Mar-04 18:11 
GeneralRe: Simple calculation problem with decimal value drivin me NUTS!!!! Pin
MasudM10-Mar-04 20:15
MasudM10-Mar-04 20:15 
GeneralAn object as property in property panel Pin
Den2Fly10-Mar-04 17:08
Den2Fly10-Mar-04 17:08 

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.