Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSINET.OCX
Message
From
18/01/2000 16:36:01
Marco Beuk
Innovero Software Solutions
The Hague, Netherlands
 
 
To
06/01/2000 03:59:17
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00313317
Message ID:
00319635
Views:
62
I solved the problem. It seems this ocx doesn't work properly when put it into an ole class. I put it as an activeX on a form, copied and pasted the code and it worked.


>> problem:
>> - the control established the connection and so on but does not fire the
>> StateChanged event. so i can't control the control. if i put the chunk in the > editbox myself, after the execute command and when he is ready, using the
>> GetChunk method i get the data.
>
>StateChanged event is fired at all stages. May be the connection is not fully established. Are you sure you are getting the responsecode 12? Try in state changed event some thing like
>
>Wait "The state now is "+Str(state,2) Nowait Window
>
>Try additionally this also
>
>MessageBox(Str(This.Responsecode)+" "+This.ResponseInfo)
>
>You will know for sure the changes in state. If you have problem with Getchunk try GetHeader first.
Previous
Reply
Map
View

Click here to load this message in the networking platform