>I would like to know how i can check whether a particular file is a valid
> Word Document or not.
[quoted text clipped - 6 lines]
>
> Thanks a lot in advance.
Take a look at this article
Getting access to the Document Properties of a Word file
http://www.word.mvps.org/FAQs/MacrosVBA/DSOFile.htm

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Hi Sudhakar,
>I would like to know how i can check whether a particular file is a valid
>Word Document or not.
From where? From the operating system, before trying to open it?
From Word, before trying to open it?
>I tried to read the "Application Name" atribute in the summary information
>of file using ActiveDocument.BuiltInDocumentProperties collection.
With "activedocument" you are accessing a word document,
and you get the correct answer...
I wonder ...

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"