How to use PropExchange? |
Post Reply |
Author | |||
Jebo
Senior Member Joined: 27 October 2005 Location: Germany Status: Offline Points: 318 |
Post Options
Thanks(0)
Posted: 28 November 2016 at 6:17am |
||
Hello,
I'm evaluatin V17.3 and try to use the "PropExchange" object, but your example code (from Helpfile) will not work because "New" isn't possble:
So I tried another way, but also not work... Dim pxWr As PropExchange Set pxWr = Xtremesuitecontrols.CreatePropExchange pxWr.CreateAsXML False, "Test" If pxWr.Valid Then pxWr.ExchangeString "Name", "Jack", "" pxWr.SaveToFile "B:\Test.xml" End If The Result is a Type mismatch error. |
|||
[Sig removed by Admin: Signature can't exceed 40GB]
|
|||
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(1)
|
||
Hi,
About second argument of ExchangeString: from documentation
So fixed code is
about
Regards,
Oleksandr Lebed |
|||
Jebo
Senior Member Joined: 27 October 2005 Location: Germany Status: Offline Points: 318 |
Post Options
Thanks(0)
|
||
> Reference to a variable of type String to save data to or
to retrieve data from.
Ah YES! Thank you! |
|||
[Sig removed by Admin: Signature can't exceed 40GB]
|
|||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |