Search results for query: *

  1. S

    Multiple Classes and DLLs

    Right now, I've got 3 separate class files in my project (fileIO.vb, etc.) I'd like to separate them all out into one dll project (I supposed I would be using the same namespace as my current project - - or???) As it stands now, if I want to instantiate one of the classes and use a method I do...
  2. S

    Add Icon to Treeview node on the fly (ExtractAssociatedIcon)

    As I'm adding a file path (not from a folder) to a treeview, how can I use ExtractAssociatedIcon to get an Icon and place it as the image for that node? I know you can use an ImageList, but in this scenario, it would be added on the fly and not using a list.....
  3. S

    remove start string and end string from selected text

    I'm trying to remove the HTML comment tags from a selected string and I'm getting an error.... Let's say I have a selected string: <!--This is my string--> selText is my variable for the entire selected string - my code is: selText = selText.Substring(4, selText.Length - 3) The error is ...
  4. S

    Problem with deleting from Specialized Collection

    my delete function uses: myCol As System.Collections.Specialized.StringCollection so, to delete from it, I use a for loop: For i = 0 To myCol.Count - 1 Dim myArr As String() = myCol(i).Split(",") If myArr(1) = name Then myCol.RemoveAt(i)...
  5. S

    Question Move Treeview Items Up and Down

    I've got a treeview populated and I have 2 buttons for UP and DOWN I'd like to use the buttons to move the selected treeview item/node up or down based on the buttons click events. (inside parent node only) I haven't been able to find anything specifically on how to do this on the net - -...
  6. S

    Question Menu Merging MDI Winforms

    In my MDI form, I have a file menu, but it only has New/Preferences/Exit. I have 2 separate child forms that can be opened and saved, so their save is in a different way. I pretty much have a small bit of understanding on how to insert (merge) an entire menu (section? for lack of better word...
  7. S

    Trying to build a Treeview ChildNode Population Sub

    I've got the root nodes populated Now, I've got a bunch of sets of strings I would like to add to each of the child nodes, but I'm having a bit of a problem. For instance - my root nodes are Pages, Posts, etc For Posts, I have a string (PostsFunctions) that I'm splitting and using for child...
Back
Top