Click here to Skip to main content
15,911,786 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problems with XML Pin
Stefan Troschuetz17-Feb-07 5:54
Stefan Troschuetz17-Feb-07 5:54 
GeneralRe: Problems with XML Pin
sharpiesharpie17-Feb-07 6:16
sharpiesharpie17-Feb-07 6:16 
GeneralRe: Problems with XML Pin
Stefan Troschuetz17-Feb-07 6:25
Stefan Troschuetz17-Feb-07 6:25 
GeneralRe: Problems with XML Pin
sharpiesharpie17-Feb-07 6:35
sharpiesharpie17-Feb-07 6:35 
GeneralRe: Problems with XML Pin
Stefan Troschuetz17-Feb-07 6:46
Stefan Troschuetz17-Feb-07 6:46 
GeneralRe: Problems with XML Pin
sharpiesharpie17-Feb-07 6:49
sharpiesharpie17-Feb-07 6:49 
GeneralRe: Problems with XML Pin
Stefan Troschuetz17-Feb-07 7:04
Stefan Troschuetz17-Feb-07 7:04 
GeneralRe: Problems with XML Pin
sharpiesharpie17-Feb-07 7:43
sharpiesharpie17-Feb-07 7:43 
jeez, i hate being such a pain in the..you know...but now i have another unexplainable problem, this is my saving function:

string s_FileName = Application.StartupPath + "\\List.xml";
            FileStream fs = new FileStream(s_FileName, FileMode.Create, FileAccess.Write);
            ArrayList al = new ArrayList();
            foreach (ListViewItem i in listView1.Items)
            {
                Reminder r = new Reminder();
                r.Name = i.Text;
                r.Date = i.SubItems[1].Text;
                r.Time = i.SubItems[2].Text;
                r.Comment = i.SubItems[3].Text;
                al.Add(r);
            }
            XmlSerializer xs = new XmlSerializer(typeof(ArrayList));
            xs.Serialize(fs, al);


when i run it i get a System.InvalidOperationException (the error is on the xs.Seialize line).

why? =\
GeneralRe: Problems with XML Pin
sharpiesharpie17-Feb-07 7:57
sharpiesharpie17-Feb-07 7:57 
Questionlanguage question Pin
OlaMohammed17-Feb-07 2:17
OlaMohammed17-Feb-07 2:17 
AnswerRe: language question Pin
Simon P Stevens17-Feb-07 3:04
Simon P Stevens17-Feb-07 3:04 
GeneralRe: language question Pin
OlaMohammed18-Feb-07 0:25
OlaMohammed18-Feb-07 0:25 
AnswerRe: language question Pin
Stefan Troschuetz17-Feb-07 3:30
Stefan Troschuetz17-Feb-07 3:30 
QuestionChanging an object value in listbox control .. Pin
Hussam Fattahi17-Feb-07 0:38
Hussam Fattahi17-Feb-07 0:38 
AnswerRe: Changing an object value in listbox control .. Pin
Luc Pattyn17-Feb-07 1:32
sitebuilderLuc Pattyn17-Feb-07 1:32 
GeneralRe: Changing an object value in listbox control .. Pin
Hussam Fattahi17-Feb-07 1:48
Hussam Fattahi17-Feb-07 1:48 
QuestionMiddle Text line Pin
MHASSANF17-Feb-07 0:19
MHASSANF17-Feb-07 0:19 
AnswerRe: Middle Text line Pin
Stefan Troschuetz17-Feb-07 1:45
Stefan Troschuetz17-Feb-07 1:45 
QuestionMultiple Datagridview Export to new Form Pin
Rick van Woudenberg16-Feb-07 23:40
Rick van Woudenberg16-Feb-07 23:40 
AnswerRe: Multiple Datagridview Export to new Form Pin
Heath Stewart17-Feb-07 5:57
protectorHeath Stewart17-Feb-07 5:57 
QuestionCobol to .NET URGENT Pin
Niiiissssshhhhhuuuuu16-Feb-07 23:24
Niiiissssshhhhhuuuuu16-Feb-07 23:24 
AnswerRe: Cobol to .NET URGENT Pin
Thomas Stockwell17-Feb-07 3:57
professionalThomas Stockwell17-Feb-07 3:57 
AnswerRe: Cobol to .NET URGENT Pin
Colin Angus Mackay17-Feb-07 5:07
Colin Angus Mackay17-Feb-07 5:07 
GeneralRe: Cobol to .NET URGENT Pin
Niiiissssshhhhhuuuuu18-Feb-07 17:12
Niiiissssshhhhhuuuuu18-Feb-07 17:12 
QuestionTextBox, automatic scroll to bottom when appending text Pin
zark9216-Feb-07 23:14
zark9216-Feb-07 23: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.