|
-
Nov 16th, 2009, 08:53 AM
#1
Thread Starter
New Member
Get value out of listbox string
Hello.
I've searched the web for a while, without finding what I'm looking for. I hope somebody here can help me. I'm a beginner, so my explanation might be a bit dumb, but i hope you know what I mean.
I have a listbox listing goods (CD's) with information
Idnumber, artist, album, price etc.
so that it's listed like this
1 - Nickelback - Black Horse - 9.99$
2 - AC/DC - Black Ice - 12.99$
etc.
Now. I'm wondering if there is any way to get for example the price out of every string, and adding these together, posting a sum at the bottom of the listbox.
So that the listbox will show
1 - Nickelback - Black Horse - 9.99$
2 - AC/DC - Black Ice - 12.99$
SUM - 22.98$
My problem is to get the specific data out of the string.
I do not have any code-example to poste, because I couldn't find anything that seemed to lead in this direction. English is not my mother language, so I might have searched with wrong keywords.
Anyway. I hope somebody can give me some answers 
Grominj
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
|