Sign in to follow this  
Followers 0
s0urce

Create Object / Embedded File / Stream Load

2 posts in this topic

CODE

oPDF = ObjCreate("AcroPDF.PDF.1");

$Version=$oPDF.GetVersions

$file = FileOpen("test.pdf", 0)

$myfile = FileRead($file)

FileClose($file)

$oPDF.LoadStream($myfile)

Is there any function to load a streamed file into the PDF Object??

If($answer == ture)

So i could add the file source as base64 or however into a string and run pdf fromout the compied exe !!?

else

Is there any other way to get a PDF to an exe wihtout using FileInstall() or any crap wich needs to write the file onto HardDisk?

endif

thx, s0urce

Share this post


Link to post
Share on other sites



CODE
oPDF = ObjCreate("AcroPDF.PDF.1");

$Version=$oPDF.GetVersions

$oPDF.LoadFile("test.pdf")

What about this?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0