Skip to main content

How to convert items from a list box to a single string

Comments

1 comment

  • Zack Robison
    I'm not sure whether youve answered this issue yet, but here's the code that works for me: CType(myObject, String). This requires single selection mode and an actual string populating the object. If you are using multiple selection mode, you'll probably need something like String[] or IList<String> as the object type, then have to loop through the list/array and concatenate to arrive at a single string.
    0

Please sign in to leave a comment.