interop-domino

Is Interop.Domino dll thread safe ?

Hi , I am using Interop.Domino dll version 1.2 in c# application, and using multithreading to access multiple NSF file at same time by creating new session for each thread created (Max 5 threads at a time). For the large NSF files, I was getting the Notes error like memory segment overflow. To overcome this problem, i used Marshal.Rel...

How to dynamically link LotusNotes object irrespective of the Notes client verison.

Hi, I am using Interop.domino.dll in my application created in c#.NET to access the NSF files. I am doing static binding like : NotesSession _lotesNotesSession = new NotesSessionClass(); object obj = Activator.CreateInstance( Type.GetTypeFromProgID("Notes.NotesSession")); _lotesNotesSession.Initialize(nsfPassword...

Maximum number of memory segments that Notes can support has been exceeded

hi All, I am using Domino.dll to access a NSF file in C#.NET 2.0 I am using multiple thread to access 4 NSF files at a time, its working fine for small NSF files, but if i try to access large NSF files i get the Out of Memory Exception and Maximum number of memory segments that Notes can support has been exceeded. This exception usu...

Recurrance Calendar Issue in Lotus Notes

Hi all, I am creating a Daily Reccurrance pattern in calendar items. But there is a issue as before clicking "save and Send Invitations" button, but in the Document Properties field i am able to view the RepeatForUnit and based on its value i am identifying the Reccurrance type like (D: for daily, W: for Weekly, M: for montlhy etc). B...

Extract lotus notes mails in RFC822 using Domino.dll

I want to send my Lotus Notes mails in RFC822 format. How can i do it using Domino.dll or any other api in c#. ...

Does anyone know of a schema definition for Person documents in names.nsf?

I'm writing a utility to update person documents in names.nsf. I'm using a C# program using Interop.Domino. I'd like to validate the input but I can't find a document which describes the schema for a person document, so I can determine min lengths, max lengths, etc. Is anyone aware of one? ...

How do I return all conflict documents from a Notes Database?

I want to get all conflict documents from a Notes database. So far, i've got this: Domino.NotesSession notesSession; Domino.NotesDatabase notesDatabase = this.OpenDatabase(out notesSession); Domino.NotesDateTime dateTime = notesSession.CreateDateTime(String.Empty); Domino.NotesDocumentCollection results = notesDatabase.Search(thi...

Why might NotesSession.GetDatabase() return null?

I'm trying to open names.nsf in code. The piece of code has been working for a while but suddenly, I'm getting null. Any idea why? I don't seem to be getting any errors and I don't know how to work out what's wrong. I can open the database from the Notes client on the same machine. UPDATE Here's the code. The fields are initialise...

How to differentiate "Note" and "Mail" item in Lotus notes? Using Domino.dll

Hi, I have a Nsf file in which in one of folder there are some mail and notes items. I am differentiating each item with "form" property. In case of mails form type is "memo" but in above scenario Notes "form" type is again "memo" How can i differentiate these two items? thanx ...

Getting "" value of Location in Lotus Notes Calendar.

Hi, I am trying to read Location of Calendar item in Lotus Notes. When i check in Document Properties manually.I am able to view the value, But when i read it via using Domino.dll in am getting "" value. I am using: String Location = ((object[])CalendarDoc.GetItemValue("Location"))[0] as String; Also tried : String tmpLocation = ...

Lotus Notes Interop.Domino.dll for 64 bit OS

Hi All: I have created a simple application of reading mail properties from a nsf file using Interop.Domino.dll, things works fine for 32 bit OS but when i attempt to run the same application under 64 bit OS i am unable to create LotusNotes Session , getting the COM Exception. Though i can run the same application on 64 bit by changing ...

Lotus Notes: RichText Item

Okay, here's the deal. I am using C# with the Domino API. I have some rich text data that I want to insert into a lotus notes rich text field. NotesDocument.ReplaceItemValue just inserts the text as is with no formatting. NotesDocument.CreateRichTextItem gives me a NotesRichTextItem object that I can use for manually creating RichText ...