Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
Answerunreadable Pin
Luc Pattyn2-Dec-09 1:16
sitebuilderLuc Pattyn2-Dec-09 1:16 
QuestionReally need help with platform invoke Lotus Notes API in C# Pin
senorAli331-Dec-09 16:27
senorAli331-Dec-09 16:27 
AnswerRe: Really need help with platform invoke Lotus Notes API in C# Pin
Luc Pattyn1-Dec-09 16:51
sitebuilderLuc Pattyn1-Dec-09 16:51 
QuestionMulticast Delegate using MethodInfo Pin
hobbel2221-Dec-09 12:29
hobbel2221-Dec-09 12:29 
AnswerRe: Multicast Delegate using MethodInfo Pin
N a v a n e e t h1-Dec-09 17:04
N a v a n e e t h1-Dec-09 17:04 
GeneralRe: Multicast Delegate using MethodInfo Pin
hobbel2221-Dec-09 23:50
hobbel2221-Dec-09 23:50 
QuestionIs their a better way than using the Try/Catch statement in this source? Pin
venomation1-Dec-09 9:07
venomation1-Dec-09 9:07 
AnswerRe: Is their a better way than using the Try/Catch statement in this source? Pin
OriginalGriff1-Dec-09 9:15
mveOriginalGriff1-Dec-09 9:15 
Try doing a safe cast:
Xbox xb = prod as Xbox;
if (xb != null)
   {
   ...
   }

You could also use
if (prod is Xbox)
   {
   ...
   }

but the "as" cast will cope with nulls better.


[edit]Oops! put the <pre> tag in teh wrong place - fixed[/edit]

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

"Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"

GeneralRe: Is their a better way than using the Try/Catch statement in this source? Pin
venomation1-Dec-09 9:24
venomation1-Dec-09 9:24 
GeneralRe: Is their a better way than using the Try/Catch statement in this source? Pin
OriginalGriff1-Dec-09 9:34
mveOriginalGriff1-Dec-09 9:34 
GeneralRe: Is their a better way than using the Try/Catch statement in this source? Pin
vtchris-peterson1-Dec-09 9:29
vtchris-peterson1-Dec-09 9:29 
GeneralRe: Is their a better way than using the Try/Catch statement in this source? Pin
venomation1-Dec-09 9:37
venomation1-Dec-09 9:37 
QuestionSandboxing with AppDomain Pin
softwarejaeger1-Dec-09 7:51
softwarejaeger1-Dec-09 7:51 
QuestionReading excel file in Vista x64 Pin
kmuthuk1-Dec-09 5:38
kmuthuk1-Dec-09 5:38 
AnswerRe: Reading excel file in Vista x64 Pin
Dave Kreskowiak1-Dec-09 5:47
mveDave Kreskowiak1-Dec-09 5:47 
GeneralRe: Reading excel file in Vista x64 Pin
kmuthuk1-Dec-09 5:55
kmuthuk1-Dec-09 5:55 
GeneralRe: Reading excel file in Vista x64 Pin
Dave Kreskowiak1-Dec-09 11:04
mveDave Kreskowiak1-Dec-09 11:04 
QuestionWrapped COM call works during Test, otherwise fails Pin
puromtec11-Dec-09 5:18
puromtec11-Dec-09 5:18 
AnswerRe: Wrapped COM call works during Test, otherwise fails Pin
Paulo Zemek1-Dec-09 6:07
Paulo Zemek1-Dec-09 6:07 
GeneralRe: Wrapped COM call works during Test, otherwise fails Pin
puromtec11-Dec-09 6:31
puromtec11-Dec-09 6:31 
GeneralRe: Wrapped COM call works during Test, otherwise fails Pin
Paulo Zemek1-Dec-09 8:06
Paulo Zemek1-Dec-09 8:06 
GeneralRe: Wrapped COM call works during Test, otherwise fails Pin
puromtec11-Dec-09 8:45
puromtec11-Dec-09 8:45 
Questionhelp me to calculate the CRC!! Pin
frommi1-Dec-09 5:04
frommi1-Dec-09 5:04 
AnswerRe: help me to calculate the CRC!! Pin
Cracked-Down1-Dec-09 7:13
Cracked-Down1-Dec-09 7:13 
GeneralRe: help me to calculate the CRC!! Pin
harold aptroot1-Dec-09 7:24
harold aptroot1-Dec-09 7:24 

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.