Home > Domino Tips > Administrator > Desktop > Selected documents size
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DESKTOP

Selected documents size


Thomas Ozenne
01.27.2003
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This Agent is just a small feature I wanted. This can help you get the size of messages you want to forward. It would be nice to see this as a document option in normal behaviour, don't you agree?



Code

 Dim s As New notessession
 Dim db As notesdatabase
 Set db = s.currentdatabase
 Dim col As notesdocumentcollection
 Set col = db.UnprocessedDocuments
 Dim doc As notesdocument
 If col.Count < 1 Then 
  ' If db properties language (not looked into 
all rnext features yet ;o))
  Print "No Document Selected"
  Exit Sub
 End If
 Set doc = col.GetFirstDocument
 Dim Size As Variant
 Dim kb As Double
 Do While (Not doc Is Nothing)
  Size = Size + doc.Size
  Set doc = col.GetNextDocument(doc)
 Loop
 '1kb = 1024 b
 kb = Round((Size/1024),3)
 Print Cstr(col.Count) & | Doc Selected, 
Total Size : | & Cstr(kb) &  | Mb
  
  

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Desktop
Clear Recent Contacts view and prevent repopulation in Lotus Notes 8.x
Open a Lotus Notes database from Microsoft SharePoint 2007
Fix Lotus Notes 8.0 issues when launching Microsoft Office applications
Use a notes.ini setting to adjust font sizes in Lotus Notes
Quickly create a Notes/Domino event handler
Resetting a Lotus Notes password
Remove unnecessary bookmark icons
Toolbar tip to improve R6 performance
Managing ND6 client stability with Automatic Diagnostic Collection
Repair local databases on desktop

Lotus Notes Domino Agents
How the Agent Profiler tool improves Notes/Domino performance
Run or restart Notes/Domino agents via text messages
Calculating results for a column in a Lotus Notes view
Approve Lotus Notes documents using a BlackBerry mobile device
LotusScript agent indexes Lotus Notes/Domino databases
Top 10 Lotus Notes/Domino coding and development tips of 2008
Open documents in Lotus Notes from the Web without a UNID
Fix and update Lotus Notes documents with limited access
Verify scheduled agent status with Domino Extensible Language (DXL)
Top 10 Lotus Notes Domino programming and development tips of 2007

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts