Information générale
Catégorie:
Contrôles ActiveX en VFP
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement