Hi all,
I just encountered the following problem. I am going to export all the documents in the database to XML. Using designer help I came up with the code below. The problem is that designer tells me that Proces is not a member of the NotesDXLExport class. The code completion functionality doesn’t display the Proces member either. What am I doing wrong? Probabely something simple, but I don’t see it.
Thanks in advance,
Joost
Sub Initialize
Dim nc As NotesNoteCollection
Dim filename As String
Dim path As String
Set session = New NotesSession
Set db = session.CurrentDatabase
Set stream = session.CreateStream
path = "c:\dxl\"
filename = Left(db.FileName, Len(db.FileName) - 3) + "dxl"
filename = path + filename
If Not stream.Open(filename) Then
Messagebox "Cannot open " & filename,, "Error"
Exit Sub
End If
Call stream.Truncate
Set nc = db.CreateNoteCollection(False)
nc.SelectDocuments = True
Call nc.BuildCollection
Dim exporter As NotesDXLExporter
Set exporter = session.CreateDXLExporter(nc, stream)
Call exporter.proces
End Sub