I want to send a notes mail, under control of VB. I have connected to the notes object and tried the following code:
Dim session As Object
Dim db As Object
Dim doc As Object
Dim s As String
Set session = CreateObject("Notes.NotesSession")
Set db = session.CURRENTDATABASE
Set doc = db.CREATEDOCUMENT
doc.Form = "Memo"
doc.SendTo = "Raymond J Michels/BALT/BDX"
doc.Subject = "Here's the document you wanted"
Session is valid, because I can access a value like NotesVersion. But the session.CurrentDatabase is returning Nothing, not setting the db variable.
At one point this started working, but it mostly fails:
2) Is there any web based document on accessing the notes object (better than what comes in notes help).