Code to Access/Get a Handle on a Domino.Doc Document the "Quick Way".

Mindwatering Incorporated

Author: Tripp W Black

Created: 03/19/2001 at 02:47 PM

 

Category:
Domino.Doc
API, Documents

Below is a Library search test. (The code is below.)

I compared the elapsed time of the lines of code that really matter (setting theDocuments and theDocument objects.)
The Notes protocol returned in 5 seconds and the HTTP protocol returned in 3 seconds maximum.

I ran the test several times (closing Word) in case something was being cached and the times were still less than 5 seconds, for example:
sample 1 came back in 3 seconds
sample 2 came back in 0 seconds
sample 3 came back in 3 seconds


The Code:
code.txt


previous page