vb123.com

Garry Robinson's Popular MS Access, Office and VB Resource Site

 

Home  Contact Us
Order our Software


 Smart Access  
The Magazine that Access Developers loved to read and write for is back
Article Index Here or Read More

See 2010 Specials

RSS & Newsletter  
Join our XML/RSS Newsfeed or sign up for our informative newsletter on Office Automation, Access and VB topics
Read More

Get Good Help
If you need help with a database, our Professionals could be the answer
Read More

  The Workbench  Find out who has your database open, start the correct version of Access, easy compacting and backups, change startup options, mde compile,  shutdown database Read and Download

Access >>> SQL 
Upsize to SQL Server 2005 or 2008, easily repeated conversions, highly accurate SQL query
translation and web form conversion.
Read More

 Is Your Database Corrupt ?
If you have a corrupt database, Try our Access Recovery service

The Toolbox
Libraries of software that we regularly import into our projects. This is a newer version of the Toolshed More..


Datamining/Graphs

Explore your data with this versatile graphing and data mining shareware tool.  Read More

DryToast 
Backup and query your BaseCamp
® projects
Read More

Garry's Blog
Find out a few other things that Garry has been writing about Microsoft Access. Read more

Like FMS Products?
Purchase them from us and get a free Workbench or Toolbox  More

Access 2010 Books
2010 Programmer's Reference  or 2010 Inside Out or try
Access Solutions for something different

Start eReading with
an Amazon Kindle for 140$.  You decide the font size, you don't loose the page, its battery lasts for weeks and its one third as heavy as an IPad


About The Editor
Garry Robinson writes for a number of popular computer magazines, is now a book author and has worked on 100+ Access databases. He is based in Sydney, Australia
Contact Us ...

Search ...

or try our new site built with SharePoint Designer
 vb123.com.au
 

 

Next Tip   Send SMS with Skype 3+

By Mark Plumpton ~ Custom Data Solutions Ltd
and Edited by Garry

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

Cost per SMS in Australia works out as 6 cents a message (May 2007)

Download sample Here

Another reader added this

Garry

We wrote a routine to send SMS by connecting dial-up with an access number supplied by the various telephone companies There is a standard protocol for injecting SMS messages using these gateways It was painfull - lines dropping out, a limit with the number of SMS messages in a session, line busy, etc

There appears to be no common standard to talk to a locally connected mobile.

So we have now found the easiest solution is to use a web portal to SMS

One of the most reliable and cheapest, with excellent tech documentation, is www.clickatell.com

They are based in South Africa, and messages cost about Euro 0.045 ($Aus 0.07), going down for volume

They support HTTP, SMTP, FTP, XML, Com

We found the easiest is HTTP, using the MSINET control

You can also get SMS replies via email

Clickatell also supports bulk SMS - you send 1 http request with the message plus a list of SMS numbers

As a developer you need to register, and buy 'SMS credits'
You are then issued with a code that you pass with the http request



regards...

Trevor Finch
Research Services New England
http://www.rsne.com.au

Other Pages at VB123.com That You May Want To Visit

Stop Those Annoying Outlook Warning Messages

Take Advantage Of The Class Module Features Of Your Access Forms

Click on the Next Tip button for the next help page in this Access Loop.

 

Links >>>  Home | Search | Workbench | Orders | Newsletter | Access Security | Access professionals