|
-
Jan 3rd, 2010, 03:58 PM
#1
Thread Starter
Hyperactive Member
Getting numbers from listview
Hi Guys,
In my application i store number in a list box, the number of numbers vary depending on the user, normally 20 - 100, i have this code setup:
vb.net Code:
For i = 0 To listviewNumbers.Items.Count
'// Perform operations on number then delete it.
Next
So when i retrieve a digit from the listview, i was going to use it, then delete it from the listview (so it wouldn't be used again)
I am having trouble getting the number from the listview to use, i can do listviewHarvestedIDs.SelectedItems(0).Text but that means the user has to select every number to use, i really need to select a numberautomatically (doesn't need to be in order) use it then delete.
any help would be appreciated
thanks guys
Graham
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|