Hello, i have a problem with DisplayFromByteArray function, and i'm going crazy...
I have this javascript that works fine:
<script type="text/javascript">
VisorPDF.DisplayFromURL("www.gdpicture.com", "/ressources/specifications/ActivexCOM.pdf");
</script>
but when i want to use DisplayFromByteArray function it doesn''t work... what kind of variable do i have to pass to this function?
This piece of javascript gives a type mismatch javascript error:
var vArray = [37,80,68,70,45,49,46,49,13,10,13,10,57,32,48,32,111,98,106,13,10,60,60,13,10];
VisorPDF.DisplayFromByteArray(vArray);
but this piece is ok:
var vArray = "edasdasd";
VisorPDF.DisplayFromByteArray(vArray);
both cases are just for test, when i know what kind of variable i need i will put the correct data inside.
So, do i have to pass a string to DisplayFromByteArray function?? why an array of bytes variable gives a type mistatch error? And, i have to pass a string... in wich format?
Thanks in advance,
Tuco
