Solved

How can I get the "Last Modified" date of an attachment?

Posted on 2001-07-26
4
356 Views
Last Modified: 2013-12-18
How can I get the "Last Modified" date of an attachment?
0
Comment
Question by:cyberzork
  • 3
4 Comments
 
LVL 10

Expert Comment

by:zvonko
ID: 6325148
Sub Click(Source As Button)
     Dim workspace As New NotesUIworkspace
     Dim doc As NotesDocument
     Dim item As NotesItem
     
     Set doc = workspace.CurrentDocument.Document
     Set item = doc.GetFirstItem( "$FILE" )
     Msgbox "File: " & item.Values(0) & "; last modified: " &  item.LASTMODIFIED
End Sub

0
 

Author Comment

by:cyberzork
ID: 6329840
zvonko,

I have just tried your suggestion. It seems that the LastModified property of $FILE returns the same value as the LastModified property of the Rich Text field that contains the attachment. In any case, it dows not return the date/time of the attachment.
0
 
LVL 10

Accepted Solution

by:
zvonko earned 100 total points
ID: 6329982
you are right ;-)

the only properties you can fetch with LotusNotes means are: FileName (with item.Values(0) ) and the attached file itself.

For other properties (you can see in document/item properties display) are perhaps accessible  with CAPI, but for this is the effort to much higher over the results...

Sorry
0
 
LVL 10

Expert Comment

by:zvonko
ID: 6335975
thanks for the points ;-)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Word Pro Conversion utility 13 34
Lotus notes forward mail problem 5 402
Lotus Notes - Broken Links report 5 214
Lotus Notes Mailbox (Mail Forwarding) 9 49
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question