I have a legacy application coded in VB6 that uses Lotus Notes Automation Classes (c:\notes\notes32.tlb) to create a Notes session and automate the process of sending out emails. Everything worked fine until I upgraded to Notes 9, and now the automation appears to be broken. The notes32.tlb file hasn’t been updated, and shows a timestamp of 8/8/2002, so I’m assuming that is still the old library file for the previous version. When I try to execute this code:
Set oSession = CreateObject(“Lotus.NotesSession”)
I get this error:
429 - ActiveX component can’t create object.
Does Notes 9 still support COM automation, and if so, is there any documentation available to show how it should be set up?
Thanks for confirming the syntax. I had been navigating to the C:\Notes folder and running regsvr32 nlsxbe.dll, which didn’t work. When I used the full path in the call to regsvr32, it worked and I am back up and running.