forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


OLE Document Summary DLL Interface

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units
View previous topic :: View next topic  
Author Message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Aug 26, 2003 4:23 am    Post subject: OLE Document Summary DLL Interface Reply with quote

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
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group