×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

NET.TALK (again)

NET.TALK (again)

NET.TALK (again)

(OP)
1. I have the main application in legacy (clarion 6.3) and i need that application to send URL code by POST method from NET.TALK.
2. I have managed to make it work by clicking on a button that calls routine that does the POST but when I wanna use it without the button it doesn't work.
I have been trying to make this thing work for a while now...
Here is the example of the code in rotine. When i call it by pressing a button it works but calling the routine from other place in code doesnt work.
URL = 'http://localhost:2700/Page.aspx?Value1=43&Value2=1234567890&Value3=Bambus05&Value4=lit&Value5=-1&;Value6=04'
postanjeURL routine
   ThisWebClient.SetAllHeadersDefault()
   ThisWebClient.HeaderOnly = 0
   ThisWebClient.Cookie = '                       !Cookie
   ThisWebClient.Referer = '                      !Referer
   ThisWebClient.ContentType = 'application/x-www-form-urlencoded'
   ThisWebClient.AcceptEncoding = '

   ThisWebClient.CanUseProxy = 1                   !CanUseProxy
   ThisWebClient.ContentLength = 0                 !len(clip(PostString))
   ThisWebClient.Pragma_ = 'no-cache'

   ThisWebClient.AsyncOpenUse = 1
   ThisWebClient.AsyncOpenTimeOut = 1200
   ThisWebClient.InActiveTimeout  = 2000

   ThisWebClient.ContentLength = len (clip(URL))
   
   ThisWebClient.Post(URL,')
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close