I wanted to use session=CreateObject("Notes.NotesSession") and be able to compile the code with option strict on. If I use the Domino class I do not have access to the NotesUIWorkspace class, which is needed to display the new memo (I think).
However I found the class CallByName in .NET, which...
Thanks for replying kulrom.
If I do dim session as New Domino.NotesSession, it does not start Lotus Notes. What I am trying to do is start Lotus Notes and open the user's inbox which I know how to do using CreateObject and the GetDatabase and OpenMail methods but I do not know how to do it when...
The following code starts Lotus Notes, create a new memo and then display the new email in Lotus Notes. However it needs to be written so it compiles when Option Strict is on.
Dim session as Object
Dim db as Object
Dim domDoc as Object
Dim ws as Object