M
MDB
I have a VB.NET application that manages .PRN documents created from Word
documents. I want to expand the app to include the ability to transition the
..DOCs into .PRN, one .PRN for every page in the .DOC. Everything works just
the way it should now, as long as I know how many pages are in the .DOC up
front. But the ideal situation would be if I can get the number of pages from
the just-opened Word document object. Short of going back to define a
NUMPAGES field on hundreds of .DOCs, how can I get the Word document object
to give up that information at that time it's opened?
documents. I want to expand the app to include the ability to transition the
..DOCs into .PRN, one .PRN for every page in the .DOC. Everything works just
the way it should now, as long as I know how many pages are in the .DOC up
front. But the ideal situation would be if I can get the number of pages from
the just-opened Word document object. Short of going back to define a
NUMPAGES field on hundreds of .DOCs, how can I get the Word document object
to give up that information at that time it's opened?