Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

Can I wait for an internet-response in the background?

I'm in VB6.0, trying to send and receive data to/from an http-server on the internet.  

If I do a Get  or a Post  (preferrably a Get using a webcontrol), can I continue running other code, and receive an interrupt or check a flag for when the response is done?  Please be specific, as I'm new at this stuff.

Thanks.  
0
jpalumbos
Asked:
jpalumbos
1 Solution
 
Erick37Commented:
If you use the Internet Transfer Control (included w/VB6) you can issue a GET in the Execute method of the control.  The StateChanged event can be used to monitor the progress.

Using the Internet Transfer Control
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusinginternettransfercontrol.asp
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now