wantacobra2003
IS-IT--Management
I'm using LAPI from .Net and want to get a handle on a files' type (i.e. .doc, .xls, .pdf). I can user various methods to download the document. When i rebuild the document on the user's machine, I want it to launch in the correct application. To do this, I need to save the file with the correct file type and it does not appear that the information is accessible in any LAPI function. When I use the adddocument method I have to supply a filepath, but I don't seem to be able to retrieve that same information. GetObjectInfo doesn't seem to retrieve it either (at least it's not in the LAPI reference document). Do I have to store the original filename as a custom attribute or am I missing the place where it's stored? Thanks in advance for any help.