Hi, I’m a VB developer. Currently I hava a integration with Lotus Notes using VB program below is my sample code.
=============================
Private Sub Command1_Click()
Dim ws As Object
Dim uidoc As Object
Dim doc As Object
Set ws = CreateObject(“Notes.NotesUIWorkspace”)
Set uidoc = ws.COMPOSEDOCUMENT(“server”, “problem.nsf”, “VBNewDoc”)
Set doc = uidoc.Document
doc.field1= Text1
Call ws.DIALOGBOX(“DlgBox”, True, True, False, False, False, False, “Doc1”)
End Sub
===================================
This code working fine, if the Notes Client window is open in Maximize mode. However, if i minimize the Notes Client window, Notes’s error will prompted “Notes automate error”.
Could anyone help me to solve problem.
Thanks
Iris