Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another segment in the What do you WSH for? series
Message
 
 
To
19/10/2000 09:07:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00431103
Message ID:
00431460
Views:
9
>Larry,
>
>Thanks for the news! I haven't touched Notes for couple of years. However, at my new job I have to use Notes again :(.
>After reading your post and after verifying our version, I modified a program that I wrote a couple of years ago. Unfortunately it gets stuck on the following line:
>
>loDb = loNotes.GetDatabase("", "") && set db to database not yet named
>loDb.openmail && set database to default mail database
>etc...
>
>If I instantiate Notes with CreateObject("Notes.Notessession"), GetDatabase("", "") works, but if I use CreateObject("Lotus.Notessession"), GetDatabase() expects a database name. Is there an easy way to get the name of the default mail database in order to write some generic code?
>
>TIA

Try:
loDBDir = loNotes.GetDBDirectory("") && Get object
loDb = loDBDir.OpenMailDatabase() && Get default mail database for current user

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform