Im creating a VSTO Office 2007 add-in.
I need to be enable or find a solution where I can save to a webservice with a byte[]
instead of hard drive.
So,
I open the document by going to a website and clicking on a url, that click send me a Word Document, and I select Open using MS Word 2007.
The document open, and if I check the data I have:
ActiveDocument.Fullname = http://[servername or ip]/[some iis folder]/file.asp?id=353&type=doc`
so I think this is all in memory since I dont have the original file or temp file if exists.
I have no problem from a disk, even if the document is open.
How can I do a byte[]
from an current ActiveDocument
?
I have found a lot of answers, that state that it cannot be done. But I also have a customer that have an old add-in that does the byte[]
from a current ActiveDocument
.
Can anyone help me.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…