Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP talking to a modem
Message
From
31/03/2005 04:48:38
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00999971
Message ID:
01000206
Views:
17
bag=createobject("MSCOMMLib.MSComm")
bag.CommPort = 8
bag.Settings = "9600,N,8,1"  && 14.4 Kbaud, No Parity,
                                          && 8 data Bits, 1 Stop Bit

bag.PortOpen = .T.


GEL=BAG.INPUT

IF LEN(ALLTRIM(GEL))=0 
  ?"no number"
ENDIF

ilk=AT('+CLIP: "',ALLTRIM(gel),1)+8
son=AT('",129',ALLTRIM(gel),1)
arayan=SUBSTR(gel,ilk,son-ilk)
?"caller id",arayan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform