|
by: serge calderara |
last post by:
Dear all,
I have an application which timely create log file in XML format
I ma using the SystemFileWatcher object to monitor creation of new file in
the proper path. So far no problem
When the first file is created, my SystemFile onchanged event is catch and
then I add the new log file in a treview control with the following code:
Dim m_Root As New TreeNode
|
by: Keith M |
last post by:
Hi,
I have found a very useful piece of code in the msdn which shows how to load
an xml config file, search for a particular value and replace it.
Could someone possibly convert it to C# from the VB I have?
I also would like to use similar code to update the machine.config file so
if someone could explain how to add a node ("appSettings") if node not found
and also how to add a key value pair into the "appSettings" node if found I
would...
|
by: CR |
last post by:
I've been to figure out how to get AddSortLast function to add nodes in
acsending order (a b c d)
I figured it out how to get it to sort in decending order but I can't get it
to sort in acsending order by flipping
the < sign to a > sign like I thought I could. Any suggestions or
improvements would be greatly appreciated.
typedef struct /* file data structure */
{
string_f firstName;
string_l lastName;
|
by: Brian Henry |
last post by:
If i already have a tree view created, and want to add another new node to
it, how would i do so? Is there a way to throught tags or anything? like i
have this
RootNode
|
+-- Child 1
+-- Child 2
and i want to add a child node to child 1 how would i refrence it and add a
|
by: SQACSharp |
last post by:
I'm using the EnumChildWindows API with an EnumChildWndProc callback
to populate the treeview. The output will be something similar to spy+
+
How can I specify the parent when adding a new node ??
When adding a new node is there any way to get an handle or something
else to be able add the childs to the correct parent ?
Thanks!
|
|
by: Bart Steur |
last post by:
Hi
As a VB6 user I'm unfamiliar with the Treeview control of VB2005. I read it
was changed but I have a hard time finding the right help/samples for my
problem.
In VB6 you had 1 collection, and adding a node was quite simple. Just
specify the nodes key and position relative to the key where you want to add
your new node.
In VB2005 you can't do that anymore. I looking for a sample or help how this
|
by: avolkman |
last post by:
I've just begun learning XML and XPATH, so I'm currently at a very beginner level. I have an existing XML file that I would like to add an additional node to before saving it to another variable. The code looks like this:
Code:
'Create and load the XmlDocument
Dim doc As XmlDocument = New XmlDocument()
doc.LoadXml(lsum.XmlDoc.InnerXml)
'Create new node
Dim regionElement As XmlElement =...
|
by: empiresolutions |
last post by:
Howdy,
I have an PHP page that edits XML files. I want ADD a new *id* attribute to all nodes on the page that do not have it all ready. Then i want to delete all of the values of *id* and set them as an incremental 1-x values down the page.
This is the current code i am using to edit specific nodes.
<?php
$content = $_POST;
$id = $_POST;
$node = $_POST;
|
by: NatsoumiMaya |
last post by:
hi ppl,
i have a code to write in C where i have to implement the mkdir, rm, rmdir and touch functions using double linked lists...im haveing trouble with it...here is what i have so far:
#ifndef _DIRECTORY_H
#define _DIRECTORY_H
/* tree node data structure declaration */
struct entryNode {
char * name;
|
by: Bill Cunningham |
last post by:
I have a row of values like such, placed in a text file by fprintf.
10.50
10.25
10.00
10.75
11.00
What I want to do to the above colum is add a new column right beside it
which is a total of these values and then average them in another column.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|