View Single Post
Old 02-17-2006, 07:42 PM   #5 (permalink)
iowacb4600f4guy
Registered User
 
Join Date: Feb 2006
Location: Clive, iowa
Posts: 3
iowacb4600f4guy is on a distinguished road
Send a message via AIM to iowacb4600f4guy
Quote:
Originally Posted by rikb53
you are correct it wasnt finished. but as my luck would have it. i somehow figured it out and concatenating a semi colon at the end to separate the email addresses. i dont know why the "indexOf" property didnt work

thanks a bunch

rik

Dim myEmailToList As String
Dim j As Integer
For j = 0 To txtTo.Items.Count - 1
myEmailToList += txtTo.Items(j).Value & ";"

Next j
The "IndexOf" property didn't work, because the "indexof" property returns a value that shows you the "Index" of the value you you place in the ()'s
iowacb4600f4guy is offline   Reply With Quote