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

C#

 
QuestionMove the unmovable Pin
ltheonel29-Oct-08 13:53
ltheonel29-Oct-08 13:53 
AnswerRe: Move the unmovable Pin
N a v a n e e t h29-Oct-08 18:29
N a v a n e e t h29-Oct-08 18:29 
GeneralRe: Move the unmovable Pin
ltheonel29-Oct-08 23:09
ltheonel29-Oct-08 23:09 
GeneralRe: Move the unmovable Pin
jas0n231-Nov-08 12:15
jas0n231-Nov-08 12:15 
GeneralRe: Move the unmovable Pin
ltheonel6-Nov-08 12:45
ltheonel6-Nov-08 12:45 
GeneralRe: Move the unmovable Pin
jas0n236-Nov-08 16:17
jas0n236-Nov-08 16:17 
GeneralRe: Move the unmovable Pin
ltheonel9-Nov-08 8:33
ltheonel9-Nov-08 8:33 
QuestionMapping XML to "anonymous" class Pin
ezazazel29-Oct-08 12:16
ezazazel29-Oct-08 12:16 
Hello!

If I have a XML File which is at first a serialization of a class done by application A, is there a way to create in application B, which does not know how the class should look like, a class with the correct structure just by this xml file?

e.g:
Aplication a:
[Serializeable]
class A1
{
prop string s1 {get;set;}
prop int i1 {get; set;}
}

{//MainThread
A1 a1 =new A1(){a1="test", i1=1};
XmlSerializer xser = new XmlSerializer(typeof(a1.GetType());
StreamWriter writer = new StreamWriter(...);
xser.Serialize(writer);
}


Now I have the xml file.

Application b:
{//MainThread
TODO: Desirialize the xml file
without knowing class A1 from application a

Or maybe this can be done by creating an xsd file first (and if so how this can be done?)?
AnswerRe: Mapping XML to "anonymous" class Pin
N a v a n e e t h29-Oct-08 18:32
N a v a n e e t h29-Oct-08 18:32 
GeneralRe: Mapping XML to "anonymous" class Pin
ezazazel29-Oct-08 19:48
ezazazel29-Oct-08 19:48 
QuestionCreating a upgrade .msi file Pin
Brad Wick29-Oct-08 9:07
Brad Wick29-Oct-08 9:07 
QuestionCheck if a file was created in PP 2003 Pin
ophirmi29-Oct-08 8:28
ophirmi29-Oct-08 8:28 
AnswerRe: Check if a file was created in PP 2003 Pin
Giorgi Dalakishvili29-Oct-08 8:43
mentorGiorgi Dalakishvili29-Oct-08 8:43 
GeneralRe: Check if a file was created in PP 2003 Pin
ophirmi30-Oct-08 0:37
ophirmi30-Oct-08 0:37 
GeneralRe: Check if a file was created in PP 2003 Pin
Giorgi Dalakishvili30-Oct-08 1:08
mentorGiorgi Dalakishvili30-Oct-08 1:08 
GeneralRe: Check if a file was created in PP 2003 Pin
ophirmi30-Oct-08 2:46
ophirmi30-Oct-08 2:46 
GeneralRe: Check if a file was created in PP 2003 Pin
Giorgi Dalakishvili30-Oct-08 2:59
mentorGiorgi Dalakishvili30-Oct-08 2:59 
QuestionTab Pin
boiDev29-Oct-08 5:43
boiDev29-Oct-08 5:43 
AnswerRe: Tab Pin
Thomas Stockwell29-Oct-08 6:17
professionalThomas Stockwell29-Oct-08 6:17 
RantDouble Post Pin
Thomas Stockwell29-Oct-08 6:25
professionalThomas Stockwell29-Oct-08 6:25 
AnswerCP: Mark user as ABUSE Pin
leckey29-Oct-08 9:52
leckey29-Oct-08 9:52 
GeneralRe: CP: Mark user as ABUSE Pin
Paul Conrad29-Oct-08 11:05
professionalPaul Conrad29-Oct-08 11:05 
GeneralRe: CP: Mark user as ABUSE Pin
leckey29-Oct-08 13:35
leckey29-Oct-08 13:35 
AnswerRe: Tab Pin
asugix29-Oct-08 20:55
asugix29-Oct-08 20:55 
QuestionAdding controls at design time via DesignerActions [modified] Pin
Chris Copeland29-Oct-08 5:11
mveChris Copeland29-Oct-08 5:11 

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.