Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.

  Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Boudewijn Lutgerink

First of all download and install skype (www.skype.com)
Get a Skype Out subscription, this makes it possible to make calls from the computer to a landline.

Last, install the sms service from Skype. You need your own cellphone as you will receive a code by sms to confirm the service from Skype.
Next, download the skype com-wrapper from https://developer.skype.com/Download.
Unzip the library and register the Skype4com.dll file.

now you can create some code, it looks like this:
LOCAL loSkype as skype4com.skype, lcPhoneNr as String, lcMessage as String, lnStatus as number

lnStatus = 0

loSkype = CreateObject("Skype4COM.Skype", "Skype_")
lcPhoneNr = "+311234567890"
lcMessage = "this is a test"

If Not loSkype.Client.IsRunning Then
   do while Not loSkype.Client.IsRunning

loSkype.SendSms( lcPhoneNr, lcMessage)



as you can see this requires only a few lines of code.
Much more information on the skype4com com-wrapper can be found on https://developer.skype.com/Docs/Skype4COMLib

Have fun


khubaib khalid @ 2/23/2008 1:32:37 PM
Boudewijn Lutgerink I have question: How to registerd skype4com.
and It will use with my mobile phone.?

Boudewijn Lutgerink @ 3/11/2008 11:48:06 AM
Sorry pal, I have been off line for a while. VERY busy.
I hope your patience is not gone.
you can simply register the skype4com library with the regsvr32, most of the time that is in your windows/system(32) folder.
I Assume you have skype4com in the c:\skype4com folder.

Open the dos box (start->run) type CMD
on the command line type: c:\windows\system32\regsvr32 c:\skype4com\skype4com.dll

If all goes well you will receive the message DllRegisterServer in c:\skype4com\skype4com.dll succeeded.

Answering your seond question.
No it will NOT use your cellphone.
As told you need a skype out subscription for this.
It will therefore use the internet connection to send a sms text.

noex Palic @ 11/21/2008 2:56:02 AM
Hello Boudewijn, how can i Get a Skype Out subscription?

Best Regards,


noex Palic @ 11/21/2008 5:00:11 AM
how can VFP app receive sms then reply automatically? example: i need to know the sales of day, then i wil justl send sms with keyword something like this "SALES" to the number skype provided. Then the VFP apps will send back the result, "Sales = 2,000.00"


GIL BASHANI @ 5/23/2009 9:24:47 AM
How can VFP app. receive sms ?

Massimo Tombesi @ 10/7/2009 10:07:27 AM
Dear Boudewijn, I tried your code, and it worked very well for a while. Now I receive always this error message:
Error 1733: Class definition SKYPE4COM.SKYPE is not found
at the line:
loSkype = CreateObject("Skype4COM.Skype", "Skype_")

Skype4com.dll is in the same directory of the form and it has been registered, and Skype is running (set as "invisible"). I'm using vfp8. Your code is in a CmdSend.click button for sending the SMS.
Can you help me?
Thank you very much

Massimo Tombesi (Italy)

Shakeel Akhter @ 11/15/2012 12:34:21 PM

Can you guide me how can I send SMS without using internet. I want to send SMS using GSM modem. Kindly guide steps.

Your input will be highly appreciated.

Thanks and best regards


Sayo Emmanuel @ 9/23/2013 6:24:40 PM
download the skype com-wrapper from https://developer.skype.com/Download. when i clicked this link it gave me the this error "Looks like the page you were trying to visit doesn't exist or has been moved.: pls what should i do?

Your Name: 
Your Feedback: 

Spam Protection:
Enter the code shown: