Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending SMS from within a program
Message
De
10/10/2013 22:55:19
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
À
10/10/2013 07:09:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP3
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01585098
Message ID:
01585232
Vues:
71
Is it Comm port 5.
Also check Modem doco for init strings etc

>I found GSM modems but strange behavior is present. Comm port is 5
>
> oComm = CREATEOBJ('MsCOMMLib.Mscomm')
> oComm.CommPort = 5
> oComm.PortOpen = .T.
> oComm.settings = "9600,N,8,1"
> oComm.inputLen = 0
>
>on command
>
> oComm.Output = "AT" + Chr(13) + Chr(10)
>
>error appear Ole IDispatch exception code 0 from MSComm: Operation valid only when the port is open.
>
>What am I doing wrong? Port is open or not?
>Simple thing can be terrific.
Regards N Mc Donald
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform