Domino 9 und frühere Versionen > Entwicklung

ui-Klassen für com zugänglich

(1/1)

Marinero Atlántico:
Hi,

im redbook zu Com und Domino (Com Together) oder so ähnlich steht das folgende:

--- Zitat ---COM access to Domino is only available for the Domino back-end
classes. It does not support any of the front end or user interface classes,
which include Button, Field, Navigator, NotesTimer, NotesUIDatabase,
NotesUIDocument, NotesUIView, NotesUIWorkspace

--- Ende Zitat ---

Mein kleines, amateurisches .vbs (noch nicht fertig) funktioniert aber prima mit NotesUIWorkspace und NotesUIDocument:

--- Code: ---Dim notesSession
Dim notesUI
Dim notesDB
dim notesStream
dim notesImporter
dim notesUIView
dim notesView
dim notesCol
dim notesDoc
dim notesUIDoc
dim notesAgent


'open and cleanup
Set notesSession = CreateObject("Notes.NotesSession")
Set notesUI = CreateObject("Notes.NotesUIWorkspace")
set notesDB = notesSession.getdatabase("LT0306IK-INTE/GRZInte_1806", "rz/vbm/office/office.nsf")
set notesView = notesDB.getView("ajaArchiveView")
set notesCol = notesView.getAllDocumentsByKey("doc")
set notesDoc = notesCol.getFirstDocument

if not notesDoc is nothing then
   set notesUiDoc = notesUI.EditDocument(false, notesDoc, true)
   notesUiDoc.print()
   notesUiDoc.close()
end if

msgbox "Anzahl Dokumente in Collection:" + Cstr(notesCol.count)

--- Ende Code ---

Weiss jemand, seit wann es diese Unterstützung für UI-Klassen gibt, bzw. wo ich nachschauen kann, wann welches feature in Notes implementiert wurde.
Gibt es irgendeine Zusammenstellungen der Release Notes?

Gruß Axel

elajen:
Hallo,

zum Nachsehen in welcher Version was gemacht wurde, kannst Du mal hier nachgucken:

http://www-136.ibm.com/developerworks/lotus/products/notesdomino/

Gruß von Ekki

Marinero Atlántico:
das kenn ich und da habe ich nix gefunden.

Marinero Atlántico:
Hm. eigentlich hat die erste Suche über lotus.developerworks direkt Aufklärung verschafft. Danke.

--- Zitat ---The Domino objects consist of the back-end classes available through LotusScript and Java. For the front-end classes -- NotesTimer, NotesUIDatabase, NotesUIDocument, NotesUIView, and NotesUIWorkspace -- you still need OLE and a running Notes client.

--- Ende Zitat ---
Seit 5.02 ist das dabei.
Running Notes Client heisst gemäss meinen Test, dass nur einer installiert sein muss. Der startet von ganz alleine. Ich finde es auch logisch, dass für die UI-Klassen der Client installiert sein muss.

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln