CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Tue Aug 26, 2003 4:23 am Post subject: OLE Document Summary DLL Interface |
|
|
OLE Document Summary DLL Interface
====================
This is a simple dll interface for CPPSUM32.DLL
that helps you retrieve file information from files
containing OLE 2.0 Summary (All MS Office Documents)
For your easy use all the functions are encapsulated
into a unit.
You just need to include the unit in your project
#INCLUDE OLEREAD.dsu after ensuring that both OLEREAD.dsu and CPPSUM32.DLL
are in the same directory as your .dsc file.
Now You can use the functions below.
Download the package here:
http://codescript.vdsworld.com/VDS5src/OLE2.zip
Code: | TITLE --> @OLEDOCINFO(test.doc,TITLE)
SUBJECT --> @OLEDOCINFO(test.doc,SUBJECT)
AUTHOR --> @OLEDOCINFO(test.doc,AUTHOR)
KEYWORDS --> @OLEDOCINFO(test.doc,KEYWORDS)
COMMENTS --> @OLEDOCINFO(test.doc,COMMENTS)
TEMPLATE --> @OLEDOCINFO(test.doc,TEMPLATE)
LASTAUTHOR --> @OLEDOCINFO(test.doc,LASTAUTHOR)
REVNUMBER --> @OLEDOCINFO(test.doc,REVNUMBER)
APPNAME --> @OLEDOCINFO(test.doc,APPNAME)
CREATED --> @OLEDOCINFO(test.doc,CREATED)
LASTSAVED --> @OLEDOCINFO(test.doc,LASTSAVED)
LASTPRINTED --> @OLEDOCINFO(test.doc,LASTPRINTED)
TOTAL_EDITTIME --> @OLEDOCINFO(test.doc,TOTAL_EDITTIME)
PAGECOUNT --> @OLEDOCINFO(test.doc,PAGECOUNT)
WORDCOUNT --> @OLEDOCINFO(test.doc,WORDCOUNT)
CHARCOUNT --> @OLEDOCINFO(test.doc,CHARCOUNT)
SECURITY --> @OLEDOCINFO(test.doc,SECURITY) |
Disclaimer:
===========
This script uses a non VDS dll. Use is at your own risk.
This actually a DSU moderators may feel free to move it if required.
Enjoy _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|