Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSINET.OCX
Message
De
18/01/2000 16:36:01
Marco Beuk
Innovero Software Solutions
The Hague, Pays-Bas
 
 
À
06/01/2000 03:59:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00313317
Message ID:
00319635
Vues:
58
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
Fil
Voir

Click here to load this message in the networking platform