Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion from VB to VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00582492
Message ID:
00584153
Views:
31
But Michel, even in VB, using SET requires that the property already exists on the object, doesn't it? Or is this some feature of VB.NET of which I am unaware?

>>>>Would following work for you?
>>>>loHeaderHandler=CreateObject("SessionInfoClient.ClientHeaderHandler")
>>>>loUniversalThread.AddProperty('HeaderHandler',loHeaderHandler)
>>>
>>>
>>>The SOAP object is rejecting any use of AddProperty().
>>>
>>>It doesn't want us to attach anything to it. However, the SET syntax in VB works. There must be an equivalent in VFP.
>>
>>Michel,
>>
>>The HeaderHandler is a property of SOAP client object. Did you try?
>>loUniversalThread.HeaderHandler = CreateObject("SessionInfoClient.ClientHeaderHandler")
>>
>
>HeaderHandler is a member not found to the SOAP client directly. It has to be assigned such as the SET command in VB. The problem is that in VFP, that doesn't seem to be as simple. We first need to connect a property HeaderHandler to the SOAP client.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform