Dropping a Notes item onto a VB6 or VB.NET control

I would like to drag and drop a Lotus Notes item (Domino) onto a VB6 or VB.NET control. The control must read the list of attachments associated with the mail message. I then need to copy the attachments to a specific folder. I would also like to save the message body and other info to a file in the directory. In other words, extract and copy out the attachments and create an RTF with the body, Mail to etc. data in the file in the specified directory. Could you please help me?
I'm not really up on VB drag-and-drop operations, but I do know that what you get when you drop a Notes document is link information to the document. Your control would have to interpret that information, which includes server name, database replica ID, view UNID and document UNID, and use one of the Notes programming APIs -- OLE would be my choice since you know the Notes client is already running. Java/CORBA is another choice. You'd have to write code to locate the document and read information from it. It's a fair bit of code that I don't have time to write for you right now. Search around -- maybe someone's already done it and you can swipe it. Never write what you can steal, is my philosophy.

Dig Deeper on Web Development for Lotus Notes Domino

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...