<?xml version="1.0" encoding="windows-1252"?>
<node id="778663" title="OLE and WORD docs" created="2009-07-09 15:06:53" updated="2009-07-09 15:06:53">
<type id="115">
perlquestion</type>
<author id="683783">
forinti</author>
<data>
<field name="doctext">
Hi Monks,
&lt;p&gt;I've been using Perl and OLE to process Word docs. It all works well when the user sends me a valid file; my problem is that it also works when the user sends me rubbish! For instance, one script takes a docx and returns a PDF. If the user sends me a PDF, the script returns a PDF with the source of the original. So, my question is: is there a way to make Word give me some feedback about what it is opening?
&lt;p&gt;
Thanks!</field>
</data>
</node>
