Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send SMS with VFP
Message
De
04/11/2004 04:24:23
 
 
À
28/10/2004 14:53:50
Marc Debisschop
Studieburo Tintinenco
Antwerp, Belgique
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00955449
Message ID:
00957986
Vues:
16
Hello Marc,

I'll tell you the solution I found for this .
First of all, and big condition: my gsm provider has an application called "mail2sms". It requeries at installation MS outlook because it creates an add-in there. After installation in MS Outlook appears a new button "Send SMS" . But I wanted to send sms from vfp, like you. So, what I used from it to send programatically from vfp was to use an option (in MSOL) which sounds like this: "Automatically send a SMS when a high priority message comes" . So , every time I want to receive a SMS from PC, I send myself a message with high priority from VFP through MSOL, and when it comes back to Inbox, a sms is automatically sent . The big problem is that I receive spams with HP and a sms is sent. Even setting filters in MSOL is unusefull because the filters are applied after the sms is sent . But I use it like this .
Sending a sms from Outlook is easy with automation, like this:

local lOapp
lOapp=CREATEOBJECT("Outlook.Application")
lInstOapp=lOapp.CreateItem(0)
lInstOapp.Subject="mesaj din PC"
lInstOapp.To="mpascu@yahoo.com"
lInstOapp.Importance= 2 && olImportanceHigh
lInstOapp.Body="Atentie. Request Timed Out "
lInstOapp.Send

I didn't give my real address , sorry for that .
HTH,
Mihai .
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform