Jump to content



Photo

[VB.NET]Listbox string replace

listbox string replace

  • Please log in to reply
16 replies to this topic

#16 +Dermot

Dermot

    Gamer

  • 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

Majesticmerc

    Resident Idealist

  • Tech Issues Solved: 9
  • Joined: 24-August 05
  • Location: United Kingdom
  • OS: Arch Linux / Win 7
  • Phone: HTC One X

Posted 07 January 2013 - 00:22

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