Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



[VB.NET]Listbox string replace


16 replies to this topic * * * * * 1 votes

#16 +Dermot

    Irish Gaming

  • 205 posts
  • Joined: 26-August 04
  • Location: Republic Of Ireland
  • OS: Windows 7 64bit

Posted 06 January 2013 - 01:53

best of using a listbox tag of your item for the url and open the tag keeping the item intact.

listbox.Items(i).Tag = "http://www.google.com"



#17 +Majesticmerc

    Resident Idealist

  • 5,104 posts
  • Joined: 24-August 05
  • Location: United Kingdom
  • OS: Arch Linux / Win 7
  • Phone: HTC One X

Posted 07 January 2013 - 00:22

View PostDermot, on 06 January 2013 - 01:53, said:

best of using a listbox tag of your item for the url and open the tag keeping the item intact.

listbox.Items(i).Tag = "http://www.google.com"

Indeed that would be better. In my defence the last time I used a ListBox in Windows Forms .NET 3 hadn't gained any traction yet :p