473,383 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

how do i write checkbox to....

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,

Jul 21 '05 #1
3 1268
Supra wrote:
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,


Can't you use the Convert.ToString() method? It should work similar like
cstr in vb6.

Yves
Jul 21 '05 #2
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.

Yves Dhondt wrote:
Supra wrote:
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,

Can't you use the Convert.ToString() method? It should work similar
like cstr in vb6.

Yves


Jul 21 '05 #3
don't worry about me. i just solved it. i can evern write to xml. thank
goddness! 8-)
regards,

Supra wrote:
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.

Yves Dhondt wrote:
Supra wrote:
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,


Can't you use the Convert.ToString() method? It should work similar
like cstr in vb6.

Yves



Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Jack | last post by:
Hi, Here is my problem: I am logging in to a page, where the page retrieves a record from a database. The text boxes are used in the display formto let the users update the fields, if they...
3
by: Les Juby | last post by:
Getting really stumped here..... Using Classic.ASP and after an editing page has been completed I need to write the values back to an Access 2000 database. But I'm battling with a checkbox...
4
by: Fabri | last post by:
How can I, on button click, to select ONLY the following 4 checkbox? I would like to do this without a for loop through form.lenght because this is only an example and I have to apply this script...
3
by: francisco lopez | last post by:
I hope not sent I twice. ok here is my problem, the javascript form validation works perfect during I put a emaildirection in the <form action:""> comand, like this: <form...
4
by: feanor | last post by:
I need to select children checkboxes when selecting the parent one. This is my function: function SelectChildrens(checkbox_name){ form = document.forms; Sname = checkbox_name.split("-"); for...
0
by: mike | last post by:
Hi there: I've read an excellent "how to"-article by Microsoft (no. 306227) - partly cited cited at the end of this email). I have implemented the code related to the part "How to Add a...
2
by: bebop | last post by:
I'm using three checkbox web controls in C# .NET and one button, and one labe Is there a way to "group" these individual checkbox web controls If so, do I use a for loop, hashtable, array,...
5
by: DotNetJunkies User | last post by:
1. i want to populate checkboxlist using javascript only at client side ....how can i do this..by populate word i mean that checkboxes should be checked or unchecked on some condition basis.......
2
by: Jack | last post by:
Hi, I have a asp page. This page pulls all data from a query. Part of the code is as follows: <% Response.Write "<table border='1' width='80%' height='1' cellspacing='1' >" Response.Write...
4
by: Mike Haberfellner | last post by:
....hi everyone, ....i posted this allready, but my newsreader doesn't display it to me - so i'm sorry if it's posted twice... hi again, sorry for not clearly writing what i really need :) ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.