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

C#

 
AnswerRe: Set cursor position without firing MouseMove event Pin
Luc Pattyn10-May-11 4:37
sitebuilderLuc Pattyn10-May-11 4:37 
AnswerRe: Set cursor position without firing MouseMove event [modified] Pin
BHillam10-May-11 5:30
BHillam10-May-11 5:30 
GeneralRe: Set cursor position without firing MouseMove event Pin
Mark Salsbery10-May-11 9:59
Mark Salsbery10-May-11 9:59 
GeneralRe: Set cursor position without firing MouseMove event [modified] Pin
BHillam10-May-11 15:06
BHillam10-May-11 15:06 
GeneralRe: Set cursor position without firing MouseMove event Pin
Mark Salsbery10-May-11 16:39
Mark Salsbery10-May-11 16:39 
QuestionWhat is the best way(s) to send strings from java app to .net app? Pin
CodeGust10-May-11 2:21
CodeGust10-May-11 2:21 
AnswerRe: What is the best way(s) to send strings from java app to .net app? Pin
Groulien10-May-11 2:35
Groulien10-May-11 2:35 
GeneralRe: What is the best way(s) to send strings from java app to .net app? Pin
CodeGust10-May-11 3:39
CodeGust10-May-11 3:39 
AnswerRe: What is the best way(s) to send strings from java app to .net app? Pin
Wayne Gaylard10-May-11 2:44
professionalWayne Gaylard10-May-11 2:44 
GeneralRe: What is the best way(s) to send strings from java app to .net app? Pin
CodeGust10-May-11 3:41
CodeGust10-May-11 3:41 
AnswerRe: What is the best way(s) to send strings from java app to .net app? Pin
jschell10-May-11 12:14
jschell10-May-11 12:14 
GeneralRe: What is the best way(s) to send strings from java app to .net app? Pin
CodeGust10-May-11 12:31
CodeGust10-May-11 12:31 
GeneralRe: What is the best way(s) to send strings from java app to .net app? Pin
jschell11-May-11 8:04
jschell11-May-11 8:04 
QuestionWinform validation Pin
arkiboys10-May-11 2:10
arkiboys10-May-11 2:10 
AnswerRe: Winform validation Pin
Rhuros10-May-11 2:50
professionalRhuros10-May-11 2:50 
GeneralRe: Winform validation Pin
arkiboys10-May-11 3:00
arkiboys10-May-11 3:00 
QuestionRe: Winform validation Pin
Pete O'Hanlon10-May-11 3:13
mvePete O'Hanlon10-May-11 3:13 
AnswerRe: Winform validation Pin
arkiboys10-May-11 5:38
arkiboys10-May-11 5:38 
AnswerRe: Winform validation Pin
Shameel10-May-11 2:56
professionalShameel10-May-11 2:56 
GeneralRe: Winform validation Pin
arkiboys10-May-11 3:00
arkiboys10-May-11 3:00 
GeneralRe: Winform validation Pin
Dave Kreskowiak10-May-11 3:45
mveDave Kreskowiak10-May-11 3:45 
GeneralRe: Winform validation Pin
arkiboys10-May-11 5:37
arkiboys10-May-11 5:37 
QuestionHow to cast unknown object? [modified] Pin
Tesic Goran9-May-11 23:59
professionalTesic Goran9-May-11 23:59 
Hi,

I have this code:

object o = Csla.Serialization.Mobile.MobileFormatter.Deserialize(bin);
object val = ((Csla.Silverlight.PrimitiveCriteria)o).Value;


As you can see I get some object by deserialization. In this particular case I expect the object that is actually of Csla.Silverlight.PrimitiveCriteria type and I can cast the object in second line as I did above. In this case I know the type of object because I've seen it at debug time. But, what to do if I need to determine the type of object at runtime? What to do in case I want to parametrize the whole process? It means the class I get by deserialization can be different. How can I use that class to cast the object in second line?

Thank you in advance.

Goran Tesic

modified on Tuesday, May 10, 2011 6:19 AM

AnswerRe: How to cast unknown object? Pin
Eddy Vluggen10-May-11 0:30
professionalEddy Vluggen10-May-11 0:30 
GeneralRe: How to cast unknown object? Pin
Tesic Goran10-May-11 1:03
professionalTesic Goran10-May-11 1:03 

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.