S
Supra
how do i get value from xml file to checkbox1.checked ( 1 or 0) .
i stored value to xml:
rw.WriteConfigInfo("UserModes", "InvisibleOnServer",
CStr(chkInvisible.CheckState), "PirateChat.xml")
get value from xml and store in checkbox1.checked . but i couldn't get
value from xml:
'load user modes
Dim szInvisible As Collection =
clsReader.GetConfigInfo("PirateChat", "InvisibleOnServer", " ",
"PirateChat.xml")
Dim getInvisible As String
For Each getInvisible In szInvisible
chkInvisible.Checked = Val(getInvisible)
Debug.WriteLine("state :" & Val(getInvisible))
Next
all i got 0 value.
regards
i stored value to xml:
rw.WriteConfigInfo("UserModes", "InvisibleOnServer",
CStr(chkInvisible.CheckState), "PirateChat.xml")
get value from xml and store in checkbox1.checked . but i couldn't get
value from xml:
'load user modes
Dim szInvisible As Collection =
clsReader.GetConfigInfo("PirateChat", "InvisibleOnServer", " ",
"PirateChat.xml")
Dim getInvisible As String
For Each getInvisible In szInvisible
chkInvisible.Checked = Val(getInvisible)
Debug.WriteLine("state :" & Val(getInvisible))
Next
all i got 0 value.
regards