Domino Object library and VB.NET

I’m currently having problems with the Domino object library that comes with Notes. I’m trying to build a VB.Net application that allows users to read and send e-mails. Sending was the easy part, but I’m running into problems using the Domino object libaray (domobj.tlb) that comes with Notes.

Basically, I was able to install notes 6.0.1 on my machine, and use the Domino objects (after registering nlsxbe.dll) to build the functionality that I wanted. Everything seems to work fine when the user’s e-mail client is Notes 6.0.1, but another machine, which has Notes 5.0.11 installed, can’t seem to get beyond this line of code:

Dim objSession as Object

objSession = New Domino.NotesSessionClass

I am declaring the Session variable as an object, because I am writing a factory class, which would obviously instantiate the session to a different type if the user has a different e-mail client (like Outlook).

Should I not expect this library to behave the same way between Notes 5 and 6?

Any suggestions will be greatly appreciated.

Subject: Domino Object library and VB.NET

You should be able to get it working. Try reinstalling Notes 5.0.11 (or otherwise verify that the COM objects are properly registered).

If you find you have problems with performance, robustness or multithreaded support, you might want to take a look at Products A-Z.