Information générale
Catégorie:
Contrôles ActiveX en VFP
i dont know if this will help but i use the ms winsock control for the purpose of sending and getting data to/from a credit card authorisation problem.
When i first did this i had much the same problem that u describe. Waht fixed it for me was another UT guy telling me about the .object property.
Basically say your winsock object is named olewinsock1 then to connect to it you need under vfp to call the connect method by issuing
olewinsock1.object.connect
apparantly if you dont it is looking at the connect event rather than calling the connect method.
VB doesnt need this syntax and as u say all the examples are in VB
hope this helps... let me know ?
regards
colin
Précédent
Suivant
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