Here I will show you a simple way to send an SMS using Access VBA and Skype. For this you will need Skype version 3 or higher and some skype credit.
Private Sub cmdSendSkype_Click()
' By Mark Plumpton
' Custom Data Solutions Ltd
SkypeSMS txtNumber, txtMessage
End Sub
Public Function SkypeSMS(strNumber As String, strBody As String)
'strNumber is in international format
Dim sky As New SKYPE4COMLib.skype
Dim sms As SKYPE4COMLib.SmsMessage
Set sms = sky.CreateSms(smsMessageTypeOutgoing, strNumber)
sms.Body = strBody
sms.Send
'you can loop here and wait till the message is sent or fails
Debug.Print sms.Status
Set sms = Nothing
End Function
Notes
'Uses Skype4Com.dll
' https://developer.skype.com/Docs/Skype4COM/Start
' Anyway you need skype 3 or higher which installs skype4com library for you
Download sample Here
By Mark Plumpton ~ Custom Data Solutions Ltd
and Edited by Garry
Related Posts
Sending an SMS using CEMAPIBackgroundSMS or Simple Messaging Service is a means of sending a short message (160 char
Microsoft SMS senderMicrosoft SMS Sender is a small but powerful free Windows software to send SMS text messa
HTML Send SMS FormLanguage Support: HTMLAPI: SMS Web Service HTTP APIDescription: HTML Form to send an SMS
SMS EmulatorvbSMS is an attempt to develop a full-working sms emulator in Visual Basic programming la
SMS Gateway ImplementationIts a UCP SMS gateway.. It sends charged and free sms to the smsc and waits for a reply..
SMS for PDU ModeEncoding SMS messages for PDU mode.This demonstrates how to create an SMS-SUBMIT PDU for