Spawny
Jun 20th, 2000, 07:48 PM
Hi,
I want to be able to select in a listview an email address multiple time i.e select say 2 users out of the listview and then send those addresses to the default mail client. I know the command line for 1 is
Shell "Start mailto:blah@email.com" and that i have to use selecteditem.text. Here is the code I have used to try for multiple emails...
Dim i As Integer, z As String
Dim x As String, j As String
Dim y As String, itmx As ListItem
For i = 1 To LsvEmail.ListItems.Count
j = LsvEmail.SelectedItem.Text
x = j ????? not sure what to put here
Next
y = "start mailto:"
z = y & x
Shell z
Therefore, what I want to end up with is this :
so Z = "Start mailto:blah!email.com;blah1@email.com;etc" and goes to the default email client. The user can then type away to send the email to the selected person/s. Any help would be greatly appreciated and thanx in advance
Mike
I want to be able to select in a listview an email address multiple time i.e select say 2 users out of the listview and then send those addresses to the default mail client. I know the command line for 1 is
Shell "Start mailto:blah@email.com" and that i have to use selecteditem.text. Here is the code I have used to try for multiple emails...
Dim i As Integer, z As String
Dim x As String, j As String
Dim y As String, itmx As ListItem
For i = 1 To LsvEmail.ListItems.Count
j = LsvEmail.SelectedItem.Text
x = j ????? not sure what to put here
Next
y = "start mailto:"
z = y & x
Shell z
Therefore, what I want to end up with is this :
so Z = "Start mailto:blah!email.com;blah1@email.com;etc" and goes to the default email client. The user can then type away to send the email to the selected person/s. Any help would be greatly appreciated and thanx in advance
Mike