| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: Asynchronous download |
| User956 Posts: 8 Member Since: 09/21/00 |
posted January 21, 2001 12:39 PM I try to use the Web tool to perform asynchronous download of html pages. As mentioned in the documentation, I use a Timeout of 0 in my HTTP control. A timer will regularly test the State property of the control for a value of 0 (Httpcompleted). However, since you have named both an event and a property the same way (State), Visual FoxPro can't make it. Is there any other way to workaround this problem? Thank you |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 21, 2001 12:47 PM This has been answered before. Please type "vfp" in the search box and check all the articles that are returned. Thanks, Tony Priest Dart Tech Support |
| User956 Posts: 8 Member Since: 09/21/00 |
posted January 21, 2001 1:46 PM I have tried the proposed resolution without success. The HTTP control is placed on a form (this is also my container, right?). I have named it "http". The code that I have placed in the State() event of the HTTP control is the following: IF ( This.state == 0 ) WAIT WINDOW "Transfer completed..." ENDIF VFP moans with "State is a method, event or object." What should replace "This.State" according to your resolution? ThisForm.HTTP.State? ThisForm.Object.State? ThisForm.Objects[1].State? Can you be more specific about it? Pat Boens |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 21, 2001 6:52 PM The complete path would be: ThisForm.Http.Object.State This is saying "use the Object-Specific state" Tony |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|