My first question is: When you create a new file in the UserAppDataPath location during DEBUG, where is the file created? I looked through the project's locations/folders and could not find the XML file I created with this code.
Now, onto this error.
My xml structure is the standard xml header...
The xml node supports ReadContentAsDateTime method, according to intellisense, but it throws and exception when I use it:
Try
Dim reader As New XmlTextReader(strfilename2)
reader.WhitespaceHandling = WhitespaceHandling.None
While reader.Read()
If reader.NodeType =...
How would I create a registry key at install time that records the date and time of the install so that I can limit the user's use of the app to say 30 or 60 days? Like trial software?
Hello,
I have a BindingNavigator and common controls connected to an Access Database.
When I fill a combo box with state abbreviations, and during runtime select a state and save the record, I want the combo box to clear or go to the first index when the new record button on the...
Below is my code.
If reader.GetAttribute("level") = "2" Then
reader.Read()
Dim nd As New TreeNode
nd.Text = reader.ReadString
reader.Read()
nd.Name = reader.ReadString...
I am trying to use a treeview and imagelist.
I added 3 images to the imagelist.
I have set the treeview's imagelist property to the imagelist I added to the form.
Here is some sample code for when I programmatically add nodes to the treeview.
nd = TreeView1.TopNode.Nodes.Add(""...
I don't have a solid skillset in XML, and when I try to understand how to process (read/write) XML documents/files I get confused.
I have to parse the an XML document that looks like the following:
<?xml version="1.0" encoding="utf-8" ?>
<tree>
<nodeobject level="1">...
Hello,
I have read tons of MSDN documentation, but I do not fully understand the process of creating drag and drop.
Since there is no shortcut class in .NET, I have to use the COM library.
I need to develop a process where I can drag an existing desktop shortcut onto a treeview and the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.