Results 1 to 4 of 4
  1. #1
    hemaazez is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2017
    Posts
    23

    winhttp response text

    Click image for larger version. 
<br /><script async src=
    Name: 1212121212.jpg  Views: 12  Size: 91.7 KB  ID: 28814" class="thumbnail" style="float:CONFIG" />
    dear all
    i am using API link to send SMS

    i wrote a code to see the response text
    but in the msg box i see all the site response
    kindly i need a code to see the first line only


    winhttp.send
    result = winhttp.ResponseText
    MsgBox result

  2. #2
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    May be better asking on a web development forum mate.

  3. #3
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Not sure what exactly you want in your msg, but you could try sometnig such as,

    result = Left(winhttp.ResponseText,50)

    or some additional vba to find specific character or length etc.

  4. #4
    hemaazez is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2017
    Posts
    23
    dear orange
    Moderator
    thank you very much
    the code work in a good way
    i changed ( 50 ) to ( 62 ) to show the first line
    regards

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 08-26-2018, 05:12 AM
  2. Replies: 1
    Last Post: 10-28-2016, 03:00 PM
  3. Yes/No message box - undo on 'No' response
    By Abby in forum Programming
    Replies: 2
    Last Post: 01-17-2014, 02:45 PM
  4. Often get no response from access
    By Grooz13 in forum Access
    Replies: 6
    Last Post: 08-13-2010, 10:51 AM
  5. Slow Database Response
    By Nixx1401 in forum Access
    Replies: 3
    Last Post: 02-25-2010, 11:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums