home
design & development
Lotus application development
print design
web site development
request a design quote
solutions & consulting
Notes and Domino application development
Lotus Domino administration
Securence Mail Filtering
UNITRENDS backup and recovery
Lotus Notes / Domino Apps
free Lotus Notes apps
hosting
web site hosting
Lotus application hosting
check your mail
request a hosting quote
publishing
media and publishing
sound
client services
help & support
Make Payment
Client Access - Workboard
billing & payment policies
copyright & liability policies
pricing & turnaround policies
privacy statement
contact
e-mail MW
get files
send files
Setup COM Project in VB Studio
Mindwatering Incorporated
Author: Tripp W Black
Created: 02/27/2007 at 05:22 PM
Category:
Notes Developer Tips
COM
Before you start, register the COM objects for the workstation/server using the following command while in the Lotus Notes/Domino program directory:
"regsvr32 nlsxbe.dll"
1. Start VB Studio. (Or if in MS Word, do <ALT> and F11 keys)
2. On Menu, choose "Tools" --> "References ..."
3. Scroll down list to Lotus and add the "Lotus Domino Objects" by adding a check mark to that entry and clicking the OK button.
Note: This is the same as choosing Browse instead and navigating to the file DOMOBJ.TLB in the Lotus Notes/Domino program directory.
4. Start a new class and enter the following to get started...
(after that a Domino developer is in familiar territory)
Dim s as NotesSession (or just Dim s for variant)
Set s = CreateObject("Lotus.NotesSession")
Call s.Initialize("myidpwd") (note: This is for local Notes Client access.)
or
Call s.InitializeUsingNotesUserName("usernm", "userwebpwd") (note: This is for Domino server access.)
....
(write rest of code)
previous page
×