Hey
I have problem... If i save playlist with 1 item then it work but if i have more then it bug. i can start debugging.
XmlTextWriter ^textWriter = gcnew XmlTextWriter(dig->FileName, nullptr);
textWriter->WriteStartDocument();
for(int i=0; i < listBox1->Items->Count; i++){
textWriter->WriteStartElement("track"+ i);
textWriter->WriteStartElement("url", "");
textWriter->WriteString(listBox1->Items[i]->ToString());
textWriter->WriteEndElement();
textWriter->WriteStartElement("name", "");
textWriter->WriteString(listBox2->Items[i]->ToString());
textWriter->WriteEndElement();
textWriter->WriteStartElement("start");
textWriter->WriteString(listBox3->Items[i]->ToString());
textWriter->WriteEndElement();
textWriter->WriteStartElement("end");
textWriter->WriteString(listBox3->Items[i]->ToString() + listBox4->Items[i]->ToString());
textWriter->WriteEndElement();
textWriter->WriteEndDocument();
}
textWriter->Close();