Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conversion from VB to VFP
Message
 
 
À
15/11/2001 20:37:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00582492
Message ID:
00582498
Vues:
21
Would following work for you?
loHeaderHandler=CreateObject("SessionInfoClient.ClientHeaderHandler")
loUniversalThread.AddProperty('HeaderHandler',loHeaderHandler)
>I have the following in VB:
>
>
>Set sc = WScript.CreateObject("MSSOAP.SoapClient")
>sc.mssoapinit "http://www.levelextreme.com/universalthread.wsdl"
>set sc.HeaderHandler = WScript.CreateObject("SessionInfoClient.ClientHeaderHandler")
>
>
>I tried to convert that in VFP with:
>
>
>loUniversalThread=Createobject("mssoap.soapclient")
>loUniversalThread.mssoapinit("http://www.levelextreme.com/universalthread.wsdl")
>loHeaderHandler=CreateObject("SessionInfoClient")
>loUniversalThread.AddObject('HeaderHandler','loHeaderHandler')
>
>
>But this doesn't work as the last line says unknown name.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform