K
karenina
Hello there.
I try to develop an Office plugin (in C#, .NET Framework 1.0) which is
supposed to manage some documents. I am trying to save the custom
properties for an word document and then send this document via email.
I though the steps are:
- let the user select the document (therefore open the document)
- let the user write the properties (using some simple Windows Form
that allows the user to enter the name and the value of the properties)
- update the custom props on the document
- save the document
- close the document
- get the byte[] and use them however I want.
The problem is the Save method is not working. I found this out by
re-opening the document after it was closed. I can find all the new
props on my Document object, but after I close and load the document,
there are no props there.
Can someone please help me?
I am using C#, .NET framework 1.0 (the application is really big and
there is no time to transfer it to 1.1 or 2.0 at this moment, so I have
to use framework 1.0), Microsoft Office 2003 and I downloaded the
latest PIAs from Microsoft. I alse copied the dlls from the PIAs to my
own project and used that ones.
Thanks a lot for your time.
I try to develop an Office plugin (in C#, .NET Framework 1.0) which is
supposed to manage some documents. I am trying to save the custom
properties for an word document and then send this document via email.
I though the steps are:
- let the user select the document (therefore open the document)
- let the user write the properties (using some simple Windows Form
that allows the user to enter the name and the value of the properties)
- update the custom props on the document
- save the document
- close the document
- get the byte[] and use them however I want.
The problem is the Save method is not working. I found this out by
re-opening the document after it was closed. I can find all the new
props on my Document object, but after I close and load the document,
there are no props there.
Can someone please help me?
I am using C#, .NET framework 1.0 (the application is really big and
there is no time to transfer it to 1.1 or 2.0 at this moment, so I have
to use framework 1.0), Microsoft Office 2003 and I downloaded the
latest PIAs from Microsoft. I alse copied the dlls from the PIAs to my
own project and used that ones.
Thanks a lot for your time.