B
- B@rney
Hi Guys'n Dolls!
I'm developing a COM Add-in for a customer. It's a Add-in shared by Word,
Excel and PowerPoint. The idea is that when they download a document from
their intranet, and edit it, they want to upload it back to a upload.aspx
page directly from Office.
This I have done a Proof of Concept on, and it's working. Now I'm moving
into early beta stage and want to optimize configuration of the solution. To
make this easy I'd like to ask the application (Word, Excel, PowerPoint)
where the active document came from. It was opened directly from a link in a
browser. But I can't find anything in the object model telling me the
original URL of the document. The path now points to Temporary Internet Files.
I've been thinking maybe I could ask the file system, since Windows Explorer
knows the Internet Address of all files in Temporary Internet Files. Haven't
figured out how to do it though. Then again, shouldn't the application know
where the file came from, as a matter of security?
All ideas are welcome!
I'm developing a COM Add-in for a customer. It's a Add-in shared by Word,
Excel and PowerPoint. The idea is that when they download a document from
their intranet, and edit it, they want to upload it back to a upload.aspx
page directly from Office.
This I have done a Proof of Concept on, and it's working. Now I'm moving
into early beta stage and want to optimize configuration of the solution. To
make this easy I'd like to ask the application (Word, Excel, PowerPoint)
where the active document came from. It was opened directly from a link in a
browser. But I can't find anything in the object model telling me the
original URL of the document. The path now points to Temporary Internet Files.
I've been thinking maybe I could ask the file system, since Windows Explorer
knows the Internet Address of all files in Temporary Internet Files. Haven't
figured out how to do it though. Then again, shouldn't the application know
where the file came from, as a matter of security?
All ideas are welcome!