Search results for query: *

  1. P

    Root Element Missing Error

    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...
  2. P

    ReadContentAsDateTime Problem

    <?xml version="1.0" encoding="utf-8" ?> <note> <category>Important</category> <title>Data</title> <text>Data to be read.</text> <dateOfCreation>1/5/2007 5:55:29 PM</dateOfCreation> <dateModified>1/5/2007 5:57:29 PM</dateModified> </note>The error message that shows in my messagebox is...
  3. P

    ReadContentAsDateTime Problem

    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 =...
  4. P

    Create "Date" Registry Key

    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?
  5. P

    Data Controls/Combo Box Issue

    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...
  6. P

    how do i save a form and.......

    If I understand, you want to RUN the program on a computer without VB? If that is the case, you must make the install package ("Publish," in VB.NET nomenclature) and install it on a computer that does not have VB. Make sure the computer has the correct Framework version on it when you go to...
  7. P

    Setting Node Backcolor Property Value

    Below is an image of the problem: http://img92.imageshack.us/img92/9593/treeproblemby7.png I want the level 2 nodes, below the light blue level 1 node, to be yellow.
  8. P

    Simple Threading Example

    Thank you for this help with threads. However, I have run into a problem. When I run your program and press "Start" it throws an exception saying that the progressbar has been accessed by a thread other than the one it was created on. Error message: "Cross-thread operation not valid: Control...
  9. P

    Setting Node Backcolor Property Value

    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...
  10. P

    Start Application on Startup

    Is there a place in the project properties or a feature in ClickOnce that allows you to create a shortcut in a folder such as Startup? I'm not writing a setup for this program, so is there another way, maybe through ClickOnce, to create a registry?
  11. P

    Start Application on Startup

    Hi, how can I have my application start when they log on to Windows?
  12. P

    Treeview and Imagelist Problem - Please Help

    I guess my problem has just been solved. Apparently, one has to save the project before running it with the images in the imagelist? Once I saved the project, which I was reluctant to do because of the crashes, it worked.
  13. P

    Treeview and Imagelist Problem - Please Help

    Hi thanks for the reply. I hope we can get to the bottom of this and find a solution! Here is a screen cap of the error. Again, the form is never displayed. And this only happened by adding an Imagelist component and one image.
  14. P

    Treeview and Imagelist Problem - Please Help

    This person is having the same problem I'm having: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=208272&SiteId=1 WHY DOES THIS HAPPEN? IS ANYONE ABLE TO USE THE IMAGELIST CONTROL WITHOUT PROBLEMS???
  15. P

    Treeview and Imagelist Problem - Please Help

    OK, I created a BRAND NEW project. 1) added a treeview and listview to the form 2) added an imagelist to the form 3) added one image to the imagelist 4) did not link the imagelist to a control 5) ran the application. ERROR The same error occurs. WHY?! Can one or more of the mods please...
  16. P

    Treeview and Imagelist Problem - Please Help

    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(""...
  17. P

    Correct and EASIEST way to process XML

    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">...
  18. P

    Display Dialog problem - tough

    Maybe set the default directory to a directory on the hard disk?
  19. P

    traverse a TreeView

    dim tNode as treenode for each tnode in treeview1.nodes 'do whatever processing of nodes you want here. next
  20. P

    Dropping Desktop Shortcuts into Treeview using Drag & Drop

    Wow, where are some good resources to help me learn how to incorporate such COM functionality in .NET 2.0 code?
Back
Top