How to convert any file as OLEObject binary for word document

91 Views Asked by At

First I will rename the docx to zip file so i can access the files of the documents

enter image description here enter image description here

My goal is to change this oleObject directly (using other file like msg/eml), then I will convert back again to docx.

I've been searching all over the net on how to convert any file to this kind of binary.

Thanks

I tried renaming the file directly as .bin but it doesnt work.

I tried also converting the file to buffer and buffer string write as file but still i cant open the file inside the word document

0

There are 0 best solutions below