I am supposed to write ( in any language ) an application for debian linux which identifies different microsoft office file types (.mdb, .ppt, .xls, .doc etc). The problem is how to differenciate between these different microsoft office file types? The 'file' command in linux only tells that file is a microsoft office file and doesn't differenciate between different file types i.e. .ppt, .xls, .doc, .mdb.
I posted this question in this community because the openOffice automatically selects the right application for microsoft office files so there is a way (being used in OpenOffice) which can identify microsoft office file types.
Kindly, help me with this problem.
Please don't double-post the same question in different areas of the forum. I have removed your other identical thread. See: The Survival guide (TheGurkha, Moderator)