Lotus notes Intergration with Visual Studio

From: Chandrasekar Puligari
Subject: Lotus notes Intergration with Visual Studio
Date: Wed, 21 May 2008 07:13:01 -0700
Hi All,

We currently have an application in VB 6.0 to integrate with Lotus notes
domino server to read all the document on the server , Lock the documents
from backend to stop the front end users from editing while processing, and
go through some processing steps and then save the documents with some edits
to them and release the document lock which was put earlier.

We are trying to upgrade our software from VB 6.0 to Visual Studio 2008,
above mentioned functionality is not working in Visual Studio 2008. Its
working fine if we do not lock the documents, but if we lock the documents,
its reading all the properties of the lotus notes documents and going
through our normal processing but not able to save the document while its
locked. Its throwing out an error

"Notes error: Database already contains a document with this ID (UNID)"

Can someone help me here ?