|
-
May 26th, 2012, 08:16 AM
#1
Thread Starter
Enjoy the moment
[RESOLVED] sending sms with listview and checkbox in listview
hello everyone
this is a little hard
i have a form that sends sms ok?
now i also i have listview with a checkbox in the same form
what i want to do is to send 1 sms or to all sms from a text1.text
that i write the message (text1.text)
and i pick the person from the listview that this will send the message.
the code of the message i already have
i just want to be able to choose from a listview the contact and send him a message in what i write in the (text1.text)
i hope im understood
*****************
this is what i have in the mail form where i send emails from a listview
Dim SendToAll As String, NoEmails As Boolean
LsVw.SetFocus
NoEmails = True
For I = 1 To LsVw.ListItems.Count
If LsVw.ListItems(I).Checked And Len(Trim$(LsVw.ListItems(I).SubItems(1))) <> 0 Then
SendToAll = SendToAll & LsVw.ListItems(I).SubItems(1) & "; "
NoEmails = False
End If
Next
If Not NoEmails Then ShellExecute hwnd, "open", "mailto:" & SendToAll, vbNullString, vbNullString, SW_SHOW
Unload Me
Last edited by salsa31; May 26th, 2012 at 08:20 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
|