M
Mike
Hi! I am faced with a peculiar problems. I have a custom made template
which is used to append a variety of documents programmatically (C#, VB-6 or
VBA).
It works OK for most documents. However, if a document has an embedded
picture or an OLE object, very often the document looses some of its
formatting.
I can not figure out what’s going on and what I can do to fix it. Ideally
I’d like to know how I can fix it programmatically but for now I can not even
fix it manually.
I created a test consisting of 2 files which can be downloaded at
http://www.freefilehosting.net/?id=q930lq7R
Here’s how I can duplicate the problem:
Unzip both files. Create a new document based on TEST_TEMPLATE.dot
by right-clicking on the TEST_TEMPLATE.dot file and choosing New.
Once it opens, please do Insert->File and pick the TEST.doc file.
If you compare the resulting file with the TEST.doc you will see what I am
talking about.
Thank you in advance,
--Michael
which is used to append a variety of documents programmatically (C#, VB-6 or
VBA).
It works OK for most documents. However, if a document has an embedded
picture or an OLE object, very often the document looses some of its
formatting.
I can not figure out what’s going on and what I can do to fix it. Ideally
I’d like to know how I can fix it programmatically but for now I can not even
fix it manually.
I created a test consisting of 2 files which can be downloaded at
http://www.freefilehosting.net/?id=q930lq7R
Here’s how I can duplicate the problem:
Unzip both files. Create a new document based on TEST_TEMPLATE.dot
by right-clicking on the TEST_TEMPLATE.dot file and choosing New.
Once it opens, please do Insert->File and pick the TEST.doc file.
If you compare the resulting file with the TEST.doc you will see what I am
talking about.
Thank you in advance,
--Michael