Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Sir
i am trying to send SMS using with API link, So While i mention Cell number and Massage in that link directly it was successful.
But When i replaced with object in the place of Cell number and massage in API Link it was not working, see what i did ..
Dim strURL As String
Dim neMb As String
Dim msGe As String

Set appIE = CreateObject("InternetExplorer.Application")
neMb = Me.number.Value
msGe = Me.massage.Value


strURL = "http://bhashsms.com/api/sendmsg.php?user=success&pass=654321&sender=BSHSMS&phone=" & neMb & "text=" & msGe & "priority=ndnd&stype = normal"



With appIE
.Navigate strURL
' uncomment the line below if you want to watch the code execute, or for debugging
'.Visible = True
End With
' loop until the page finishes loading
Do While appIE.busy
DoEvents
Loop

appIE.Quit
/////////
pls. find the database file link what i did..
https://drive.google.com/open?id=0B3t4kDZkt9nAbFVSUFVYYURsbmM
Pls. help me...
Posted
Updated 7-May-18 22:36pm
v2
Comments
F-ES Sitecore 27-Aug-15 7:22am    
Look at strURL in the debugger, does it look right? Is the instance of Explorer navigating at all? ie is the issue your specific url or just the process in general? Automating explorer to do this is a bad idea, you're better off trying the solutions posted in your other (now closed) question.

1 solution

Yes it is working fine if i send it to a single number. What about multiple??
please help..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900