|
-
Jun 21st, 2000, 06:48 PM
#4
Thread Starter
Lively Member
yeah thanks Buzby for the code. Only one flaw. It only allows me the first selecteditem. How can i loop it so it will skip to the next selecteditem (multiselected items in the listview). Here is the adapted code from you (thanks):
strSendTo = ""
For i = 1 To LsvEmail.ListItems.Count - 1
If LsvEmail.SelectedItem.Text = LsvEmail.ListItems(i).Text Then
strSendTo = strSendTo + LsvEmail.ListItems(i).Text + ";"
End If
Next
If strSendTo = "" Then
MsgBox "Please reselect your Emailing Client as you have not yet selected one."
Exit Sub
End If
strSendTo = Left(strSendTo, Len(strSendTo) - 1)
ShellX = "start mailto:" + strSendTo
Shell ShellX
Mike
[Edited by Spawny on 06-22-2000 at 08:18 AM]
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
|