Results 1 to 6 of 6

Thread: [RESOLVED] CheckedListBox.Remove (*wildcard) or For each..

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2009
    Posts
    11

    Resolved [RESOLVED] CheckedListBox.Remove (*wildcard) or For each..

    Ive searched high and low and can not come up with a solution..maybe Im just using the wrong search string...any help would be great. Basically I have read a txt file line by line split with regex all works well except blank space so I .remove("") blank line. Now I need to further remove all strings that start with prefix of PREFIX_somefile. Thanks for any help!


    Code:
    Dim str As String
                For Each str In strs
                    CheckedListBox1.Items.Add(str)
                    CheckedListBox1.Sorted = True
                    CheckedListBox1.Items.Remove("")
                    CheckedListBox1.Items.Remove("PREFIX_"*wildcard)
                Next
    Last edited by bbdevel; Jul 9th, 2009 at 05:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width