Jump to content
Xtreme .Net Talk

BlackCell1984

Members
  • Posts

    2
  • Joined

  • Last visited

BlackCell1984's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Coolz thanks i had to change a couple things but nice one thanks :D
  2. i have writen a write XML sub Private Sub WriteOpts_XML() Dim XMLobj As Xml.XmlTextWriter Dim ue As New System.[Text].UnicodeEncoding XMLobj = New Xml.XmlTextWriter("Opts.xml", ue) XMLobj.Formatting = Xml.Formatting.Indented XMLobj.Indentation = 3 XMLobj.WriteStartDocument() XMLobj.WriteStartElement("EthylOpts") XMLobj.WriteAttributeString("PunishValue", cmbPun.SelectedIndex) XMLobj.WriteAttributeString("BanSetValue", cmbBan.SelectedIndex) XMLobj.WriteStartElement("Options") XMLobj.WriteAttributeString("Nickname", CFNick.Text) XMLobj.WriteAttributeString("PunishTime", txtpun.Text) XMLobj.WriteAttributeString("BanSettings", txtban.Text) XMLobj.WriteEndElement() XMLobj.Close() EndSub it gives out this XML file <?xml version="1.0" encoding="utf-16"?> <EthylOpts PunishValue="6" BanSetValue="2"> <Options Nickname="BlackCell" PunishTime="TextBox1" BanSettings="TextBox1" /> </EthylOpts> now i cant get s read XML to read the XML file and put those values and text where they are supposed to be.
×
×
  • Create New...