Q

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.
This was first published in October 2003

Dig deeper on Web Development for Lotus Notes Domino

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

Search400

  • 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 ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close