Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / July 2004

Tip: Looking for answers? Try searching our database.

how do i write checkbox to....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Supra - 31 Jul 2004 11:21 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
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.