|
-
Jan 27th, 2012, 07:57 PM
#1
Thread Starter
Junior Member
Contains (similar function exists?)
Okay, so i have a listbox a textbox and a mediaplayer
A timer with the interval of "1" changes the textbox to the current positon (1.????)
BUT the listbox contains 1.????????? (differnet length of textbox), anyway to add/shorten the string, substring doesn't work.
Also, when i check with the timer, even if it does match it deosnt tell me it matches
Code:
If ListBox2.Items.Contains(AxWindowsMediaPlayer1.Ctlcontrols.currentPosition) Then
MsgBox("hello")
End If
EX.
Listbox item : 1.010000
media player : 1.01
i need to make the media player one match
Also whent it matches it doesnt tell me, any help?
btw pic attached
Last edited by aaro4130; Jan 27th, 2012 at 08:05 PM.
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
|