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, 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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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.......
|
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...
|
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 :)
...
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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$) {
}
...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |