Main Board > Language

How to pass a com object string property greater than 32k?

(1/1)

Ken Sproul:
I'm using a com object with a string property that I need to pass a value greater than 32k back and forth.
I think there's a trick to this if memory serves, but I couldn't find it.

Stéphane Devouard:
Hi Ken


You have the pvxextdata[$] extended properties to GET more than 32K of data
https://manual.pvxplus.com/PXPLUS/Automation%20in%20PxPlus/PxPlus%20COM%20Interface%20Extensions/Overview.htm


Not sure about SETting more than 32K, though...


Hope this helps

Ken Sproul:
Stéphane,


That's exactly what I needed!
It seems that setting more than 32k is not an issue for some reason.


Thank you!


In case it helps someone, below is the code I used:
get_html_value:
html_value$=html'value$
if len(html_value$)=32000 then while html'pvxextdata; html_value$+=html'pvxextdata$; wend
return

Navigation

[0] Message Index

Go to full version