Click here to Skip to main content
15,897,891 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: OK Pin
Dave Kreskowiak25-Nov-09 13:21
mveDave Kreskowiak25-Nov-09 13:21 
GeneralRe: OK Pin
Ashfield25-Nov-09 21:07
Ashfield25-Nov-09 21:07 
Questiondynamic deserialization Pin
Ebube25-Nov-09 3:36
Ebube25-Nov-09 3:36 
AnswerRe: dynamic deserialization Pin
Dave Kreskowiak25-Nov-09 7:20
mveDave Kreskowiak25-Nov-09 7:20 
GeneralRe: dynamic deserialization Pin
Ebube25-Nov-09 11:02
Ebube25-Nov-09 11:02 
GeneralRe: dynamic deserialization Pin
Dave Kreskowiak25-Nov-09 13:19
mveDave Kreskowiak25-Nov-09 13:19 
GeneralRe: dynamic deserialization Pin
Ebube28-Nov-09 1:08
Ebube28-Nov-09 1:08 
GeneralRe: dynamic deserialization Pin
Dave Kreskowiak28-Nov-09 7:07
mveDave Kreskowiak28-Nov-09 7:07 
Yikes. The only way this would be possible is if you generated code, compiled it and emitted an assembly for it at runtime. This is a VERY ADVANCED level topic and not something I've done, so I don't have any examples. For something like this, normally I'd use something like a "property bag" setup, where basic definitions for various fields common to all class types are defined in a custom collection. That collection would also use a seperately defined "property bag" kind of setup where you're storing key/value type/value information in a seperate collection. You'd also need custom serializer/deserializers to store/parse the data in/from XML files.

If you really want the custom generated class route, Google for ".net dynamic class creation".


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: dynamic deserialization Pin
Ebube28-Nov-09 8:38
Ebube28-Nov-09 8:38 
GeneralRe: dynamic deserialization Pin
David Skelly25-Nov-09 22:36
David Skelly25-Nov-09 22:36 
GeneralRe: dynamic deserialization Pin
Ebube26-Nov-09 8:43
Ebube26-Nov-09 8:43 
GeneralRe: dynamic deserialization Pin
David Skelly26-Nov-09 22:23
David Skelly26-Nov-09 22:23 
GeneralRe: dynamic deserialization Pin
Ebube27-Nov-09 7:16
Ebube27-Nov-09 7:16 
QuestionPlease help me to solve problem from Component DevExpress for Visual Studio 2008 Pin
tannghia25-Nov-09 2:25
tannghia25-Nov-09 2:25 
AnswerRe: Please help me to solve problem from Component DevExpress for Visual Studio 2008 Pin
Alan N25-Nov-09 4:20
Alan N25-Nov-09 4:20 
GeneralRe: Please help me to solve problem from Component DevExpress for Visual Studio 2008 Pin
tannghia25-Nov-09 4:43
tannghia25-Nov-09 4:43 
QuestionSort column in datatable Pin
helelark12325-Nov-09 1:17
helelark12325-Nov-09 1:17 
AnswerRe: Sort column in datatable Pin
Johan Hakkesteegt25-Nov-09 1:36
Johan Hakkesteegt25-Nov-09 1:36 
GeneralRe: Sort column in datatable Pin
helelark12325-Nov-09 1:57
helelark12325-Nov-09 1:57 
GeneralRe: Sort column in datatable Pin
Johan Hakkesteegt25-Nov-09 2:44
Johan Hakkesteegt25-Nov-09 2:44 
AnswerRe: Sort column in datatable Pin
helelark12325-Nov-09 5:26
helelark12325-Nov-09 5:26 
QuestionHow to avoid flickering of tooltip? Pin
Prasadsm25-Nov-09 0:24
Prasadsm25-Nov-09 0:24 
AnswerRe: How to avoid flickering of tooltip? Pin
EliottA25-Nov-09 2:36
EliottA25-Nov-09 2:36 
GeneralRe: How to avoid flickering of tooltip? Pin
Prasadsm25-Nov-09 18:12
Prasadsm25-Nov-09 18:12 
QuestionHow to disable automatic stop on window service ? Pin
manhlinhhmt21824-Nov-09 21:25
manhlinhhmt21824-Nov-09 21:25 

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.