Reputation: 544
I need to access the backend classes of Lotus Notes from a vb.net Application. Actualy I want to get the COM interface. I could easely do it in c++:
...
NOTESSESSIONPtr itfNotesP;
NOTESDATABASEPtr itfDatabaseP;
...
try
{
hrNotesSession = itfNotesP.CreateInstance(__uuidof(NOTESSESSION));
hrNotesUiWorkspace = ptrUIWP.CreateInstance(__uuidof(NOTESUIWORKSPACE));
}
...
but in vb.net I'm running out of solutions to acheive the samething with lotus.NOTESSESSION and lotus.NOTESUIWORKSPACE from Notes32.tlb
Does someone know what I am missing? Thanks!
Upvotes: 1
Views: 790
Reputation: 14628
Have you read this? It's a bit old, and there's at least one important thing it doesn't mention, but I think it shows you enough to get started.
The thing it doesn't mention, which might be important for you or not, is that the Domino COM classes are not supported on Win64. (See this IBM technote.) You will find a few questions here on StackOverflow from people who have had difficulties, and there are answers to get you past the specifi issue in that technote. And in fact, most of the classes can be made to work, but a few methods in some of the classes simply do not work. And apart from community help, you're on your own because IBM won't answer questions about stuff that isn't supported.
Upvotes: 1