| Ads
by DomBible |
Programming Lotus Notes with Visual Basic
VB programmers can access and program Lotus Notes/Domino as Notes is an OLE Automation server. This is done using the NotesUIWorkspace and Notes.Session OLE automation objects. Notes must be installed on the same machine as the Visual Basic program.
Iris Today's reference article Common Ground: COM access to Domino Objects
gets you started on the topic. Here are some links from that article:
Getting started in Visual Basic
Initializing a Domino session
Getting started in VBScript
Working through the object hierarchy
Opening and creating databases
Getting item values
Working with constants and error codes
Porting between Visual Basic and LotusScript
Here is a quick intro, some sample code on the topic from Experts Exchange.
This page has information about:
VBA HTML ASP, COM, IIS, CLSID, Save, Symbols Text, Title, Toolbar Agents, in ASP, SetNow, Template GetView, HasItem, IsOpen, MS Word, NOTES.INI objects, Server, setting, Activate, Document, domobj.h, Explorer, FilePath, get_Text, GetFirst, NotesACL, NotesLog, Security, template, workflow, Activate, Black box, Common, , component, Directory, Domobj.h, domobj.id, get_Title, LotusScript messaging, NotesForm, NotesName, NotesView, PROGID, , security, VBScript, Automation, domobj_i.c, get_Common, get_IsOpen, HTML form, IsResponse, NotesAgent, properties, Visual Basic Visual C++, add toolbar, Domino server EmbedObject, from Domino, KeyFilename, normal.dot, Notes classes replication, ServerName, what is COM, ColumnValues, CopyAllItems, CreateObject, DisableComNP, get_DateOnly, get_UserName, Late binding, Microsoft Word NotesOutline, NotesSession, NotesViewEntry object store, COMMON.XLS, , CreateViewNav, Early binding, ErrorHandler, Microsoft Excel NotesACLEntry, NotesDatabase, NotesDateTime, NotesItem class Server. IIS Toolkit for COM ActiveWorkbook, ATL COM Wizard, COM components, CreateDateTime, CreateName, , get_ServerName, GetDatabase, , GetView, , , Microsoft Access Microsoft Office NotesACL class, NotesDateRange, NotesLog class, OLE Automation, simple example, usernameobject, ActiveDocument, adding methods to ComputeWithForm, Domino Designer, get_LSLocalTime, GetNextCategory, GetNextDatabase, GetNextDocument, GetNthDocument, Global.asa file, NotesForm class, NotesNewsLetter, NotesViewColumn, accessing Domino, AppendItemValue, Back-end classes, GetDbDirectory, , GetFirstDatabase, GetFirstDocument, GetFirstItem, , GetNextDocument, NotesAgent class, NotesDbDirectory, NotesName class, NotesReplication, NotesRichTextTab, NotesViewNavigator object hierarchy, adding in MS Word, CreateDocument, , CreateObject, , , Front-end classes, get_DateTimeValue, GetFirstDocument, NotesOutlineEntry, NotesRegistration, NotesRichTextItem, ReplaceItemValue, Application Wizard, CommonUserName, , create new project, CreateRichTextItem, DesignTemplateName, GetItemValue, , , GetLastDocument, , GetPrevDocument, , NotesInternational, NotesRichTextStyle, NotesViewNavigator c OpenMailDatabase, , setting up project, using OBJECT tag, using CreateObject, Active Type Library, include a component, Initialize, , , , name lookup example, NotesACLEntry class, NotesDateTime class, NotesEmbeddedObject, automation by agents, COMpact mail example, Domino Object Model, Microsoft Personal Web Microsoft Visual C++, NotesDateRange class, Excel Expense Statement hierarchical relation, Java/COM Restrictions, NotesNewsLetter class, NotesView class, , , NotesViewColumn class, Domino server security, NotesDatabase class, , simple MS Word example, Global.asa file for ASP, handling type libraries, NotesDbDirectory class, NotesDocumentCollection, NotesSession class, , , NotesViewEntry class, , Web server authentication creating a COM component, creating a component using Domino object components, NotesDocument class, , , NotesInternational class, NotesRichTextItem class, NotesRichTextStyle class, NotesViewEntryCollection, script loading component, setup for Domino objects, simple example in Internet Active Type Library (ATL), CreateViewNavFromCategory, Document Library database, expense statement example, Microsoft Internet Explorer Microsoft Visual InterDev, NotesEmbeddedObject class, save document as template, setting up access to Domino Single Document Interface, Standard Template Library, Active Server Pages. ASP adding Domino header files, ATL. Active Type Library declaring internal component Document Library database, InitalizeUsingNotesUserName, ActiveDocument. under VBA exporting modules for reuse, InitializeUsingNotesUserName, NotesRichTextParagraphStyle, NotesViewNavigator class, , Toolkit. Domino and Notes example of getting information Microsoft Internet Information setup for MS Visual InterDev, Component Object Model. COM differences from LotusScript in NotesDocumentCollection class, differences from Visual Basic in Domino and Notes Toolkit for COM create instance of Domino session front-end and backl-end classes, Standard Template Library (STL), Lotus Domino and Notes Toolkit for Visual Basic for Applications.