Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: khubaib khalid
  Where is khubaib khalid?
 HaroonAbad
 Pakistan
 khubaib khalid
 Tags
Subject: sms api
Thread ID: 416073 Message ID: 416073 # Views: 61 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Saturday, December 20, 2014 5:18:24 PM         
   


I get codes form Foxite, and try to send message with api
message send successfully
but have two problem
1:after sending 1 message i need to close application then again i am able to send.
2: if i select more than one mobile number, then only one message send.


select mes
ccnum=phone1

 lcTempTxtFilex =thisform.message.Value 


DECLARE LONG URLDownloadToFile IN URLMON.DLL LONG, STRING, STRING, LONG, LONG
lcTempTxtFile=lcTempTxtFilex
websitename="http://bsms.ufone.com/bsms_app4/sendapi.jsp?id=011111111&message=&lcTempTxtFile&shortcode=fox&lang=English&mobilenum=&ccnum&password=12345&groupname=groupname"
 lcGetURl = websitename
lcTempTxtFile="thisform.message.Value"
vresult = URLDownloadToFile(0, lcGetURl, lcTempTxtFile, 0, 0)
If vresult # 0
MESSAGEBOX("Problem Occured,So Message is not send",0)
ELSE
MESSAGEBOX("Message Successfully Send")
Endif
endscan



ENTIRE THREAD

sms api Posted by khubaib khalid @ 12/20/2014 5:18:24 PM
RE: sms api Posted by Usman Safdar @ 12/21/2014 4:34:05 PM
RE: sms api Posted by khubaib khalid @ 12/21/2014 6:34:38 PM