hi again
if my terminology is a little wrong, then please excuse me
i have the following code which registers inspector events with newly created items so i can use thier events
i also declare the holding objects (omailitem) with events, anyhow it works okCode:Private Sub objInspectors_NewInspector(ByVal Inspector As Inspector) Set objInsp = Inspector Select Case objInsp.CurrentItem.Class Case olMail Set objMailItem = objInsp.CurrentItem Case olAppointment Set objApptItem = objInsp.CurrentItem Case olContact Set objContactItem = objInsp.CurrentItem Case olDistribution Set objDistListItem = objInsp.CurrentItem Case olJournal Set objJournalItem = objInsp.CurrentItem Case olPost Set objPostitem = objInsp.CurrentItem Case olTask Set objTaskItem = objInsp.CurrentItem End Select End Sub
one of these is the omailitem_open event which i add a few buttons to the tool bar of a new email.
one of these buttons is then used to digitally seal the attached document with our java classes. Integration with this ia done
what i need to know, is how to reference the a selected attachment from within oMailItem object
is there an event like oAttachmentSelection, so that i can capture the item selected.
many thanks
jamie




Reply With Quote