What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB Help

VB Help
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: VB Help
quote:
Originally posted by Mnjul
Use InStr function:

If InStr(listFile2.SelectedItems(0).Text,".mp3")<>0 Then
blah blah blah
End If

When InStr returns 0, it means listFile2.SelectedItems(0).Text does not contain ".mp3".
I'd recommend using Right$() to get the last 3-4 characters and compare with that.

If it's filenames of course.

This post was edited on 06-21-2005 at 07:11 PM by RaceProUK.
[Image: spartaafk.png]
06-21-2005 07:10 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB Help - by DJeX on 06-21-2005 at 04:46 PM
RE: VB Help - by Mnjul on 06-21-2005 at 05:05 PM
RE: VB Help - by DJeX on 06-21-2005 at 05:16 PM
RE: VB Help - by matty on 06-21-2005 at 05:32 PM
RE: VB Help - by DJeX on 06-21-2005 at 05:43 PM
RE: VB Help - by RaceProUK on 06-21-2005 at 07:10 PM
RE: VB Help - by Mike on 06-21-2005 at 07:24 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On