E
E
Emil Revencu2017-08-14 11:12:14
VBScript
Emil Revencu, 2017-08-14 11:12:14

How to open via createObject("internetexplorer.Application") PDF where data is PDF byte string?

You need to open VBS PDF using IE browser.
The body of the PDF is received via MSXML2.ServerXMLHTTP
Of course, you can save the data to a file and open this file in a browser.
But it is necessary without saving the data from the client (immediately in the browser)
If the data would only be html code, you could simply open "about:blank" and push the data into "body.innerHTML". But the data is not html.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question