how do i write checkbox1 boolean to xml
in vb6 i can only do cstr( checkbox1.value) but in vb.net can't write
to xml. i am doing irc chat similar to mirc or pirch chat.
rw.WriteConfigInfo("User Modes", chkInvisible.Text,
chkInvisible.Checked, "PirateChat.xml")
in procedure events:
' Both the Key and the Value are filled
' Find the key
node1 =
(Doc.DocumentElement).SelectSingleNode("/configuration/" & aSection &
"/" & aKey) <======= error occured in here.
does ne 1 know how to write chebox to xml?
regards,
Yves Dhondt - 31 Jul 2004 11:32 GMT
> how do i write checkbox1 boolean to xml
> in vb6 i can only do cstr( checkbox1.value) but in vb.net can't write
[quoted text clipped - 12 lines]
> does ne 1 know how to write chebox to xml?
> regards,
Can't you use the Convert.ToString() method? It should work similar like
cstr in vb6.
Yves
Supra - 31 Jul 2004 12:48 GMT
i tried this b4. i but i want to save 1 or 0 to xml file
An unhandled exception of type 'System.Xml.XPath.XPathException'
occurred in system.xml.dll
Additional information: System error.
>> how do i write checkbox1 boolean to xml
>> in vb6 i can only do cstr( checkbox1.value) but in vb.net can't
[quoted text clipped - 17 lines]
>
> Yves
Supra - 31 Jul 2004 13:58 GMT
don't worry about me. i just solved it. i can evern write to xml. thank
goddness! 8-)
regards,
> i tried this b4. i but i want to save 1 or 0 to xml file
> An unhandled exception of type 'System.Xml.XPath.XPathException'
[quoted text clipped - 22 lines]
>>
>> Yves