Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't add attachment to Notes memo in Visual Basic.

Status
Not open for further replies.

trumpton

Programmer
Aug 8, 2001
1
US
I have a Visual Basic 6.0 executable that formats Word documents then distributes them via MS Exchange. The code is standard MAPI code i.e. the code that adds an attachment to a new mail is
Code:
'Set objAttachment = objMessage.Attachments.Add'
.

I would like to modify this executable so that it does the same thing with Lotus Notes R5. However, I have not been able to attach a file to a new memo with the existing code.
Code:
'Set objAttachment = objMessage.Attachments.Add'
is accepted and the program doesn't fall over but no attachment is created.

How do I programmatically add an attachment to a Lotus Notes memo using MAPI?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top