Click here to Skip to main content
15,886,578 members
Home / Discussions / C#
   

C#

 
QuestionMESSAGEBOX TAB Pin
Greeky14-Oct-05 0:32
Greeky14-Oct-05 0:32 
AnswerRe: MESSAGEBOX TAB Pin
Stefan Troschuetz14-Oct-05 1:53
Stefan Troschuetz14-Oct-05 1:53 
AnswerRe: MESSAGEBOX TAB Pin
albCode14-Oct-05 21:00
albCode14-Oct-05 21:00 
QuestionIs it possible to tell when the OS starts and stops a screensaver, from inside a C# service which is running under the SYSTEM account? Pin
DUKEMAN13-Oct-05 23:40
DUKEMAN13-Oct-05 23:40 
QuestionI there any control to dispaly the incomming video from a video capturing device. Pin
sukanyavarma13-Oct-05 22:37
sukanyavarma13-Oct-05 22:37 
AnswerRe: I there any control to dispaly the incomming video from a video capturing device. Pin
snouto14-Oct-05 10:10
snouto14-Oct-05 10:10 
GeneralRe: I there any control to dispaly the incomming video from a video capturing device. Pin
sukanyavarma17-Oct-05 20:40
sukanyavarma17-Oct-05 20:40 
QuestionXML Deserialization of Known Derived Classes Pin
Alexandre G13-Oct-05 21:40
Alexandre G13-Oct-05 21:40 
I have a system where several accounts can exist, in several flavours. I decided to use XML files for storage where each account gets it's own file. At startup, the system loads all accounts in memory.

Have a look at this class diagram.

When mass deserializing, I don't know how to specify of what type (Administrator, Business or Member) an account will be. I tried setting up the deserializer with the root type (Account) but any attempt throws an error about unexpected type.

XmlSerializer serializer = new XmlSerializer(typeof(Account));

Then I tried specifying extra types but the same error arises.

XmlSerializer serializer = new XmlSerializer(typeof(Account), new Type[] { typeof(Administrator), typeof(Business), typeof(Member) });

Any idea how this problem could be resolved?
QuestionRAW DATA PRINTING ON WINDOWS ME CLIENT Pin
Greeky13-Oct-05 21:11
Greeky13-Oct-05 21:11 
AnswerRe: RAW DATA PRINTING ON WINDOWS ME CLIENT Pin
Dave Kreskowiak14-Oct-05 4:35
mveDave Kreskowiak14-Oct-05 4:35 
QuestionTrace Question Pin
occcy13-Oct-05 20:36
occcy13-Oct-05 20:36 
AnswerRe: Trace Question Pin
XRaheemX14-Oct-05 4:03
XRaheemX14-Oct-05 4:03 
QuestionSerialPort acess using framework 2.0 Pin
varmag13-Oct-05 20:29
varmag13-Oct-05 20:29 
AnswerRe: SerialPort acess using framework 2.0 Pin
Dave Kreskowiak14-Oct-05 4:34
mveDave Kreskowiak14-Oct-05 4:34 
GeneralRe: SerialPort acess using framework 2.0 Pin
varmag14-Oct-05 19:32
varmag14-Oct-05 19:32 
GeneralRe: SerialPort acess using framework 2.0 Pin
Dave Kreskowiak15-Oct-05 6:34
mveDave Kreskowiak15-Oct-05 6:34 
QuestionGetting values for arraylist of arrays? Pin
parvinder sehrawat13-Oct-05 20:10
parvinder sehrawat13-Oct-05 20:10 
AnswerRe: Getting values for arraylist of arrays? Pin
Guffa13-Oct-05 20:29
Guffa13-Oct-05 20:29 
AnswerRe: Getting values for arraylist of arrays? Pin
Maqsood Ahmed14-Oct-05 1:18
Maqsood Ahmed14-Oct-05 1:18 
QuestionUrgent -How to convert Dataview to DataSet Pin
ksumputh13-Oct-05 19:46
ksumputh13-Oct-05 19:46 
AnswerRe: Dataview to DataSet Pin
turbochimp13-Oct-05 19:58
turbochimp13-Oct-05 19:58 
GeneralRe: Nope still not working for me :-( Pin
ksumputh13-Oct-05 20:13
ksumputh13-Oct-05 20:13 
GeneralRe: Dataview to DataSet Pin
turbochimp13-Oct-05 20:48
turbochimp13-Oct-05 20:48 
GeneralRe: Dataview to DataSet Pin
ksumputh22-Oct-05 8:35
ksumputh22-Oct-05 8:35 
QuestionProblem with projects in project Pin
hg270513-Oct-05 19:14
hg270513-Oct-05 19:14 

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.