Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Integrating Domino.Doc with other applications (continued)

For the ODMA32.DLL description, visit http://www.infonuovo.com/odma/downloads/odma20L.htm#ODMA32.lib-FileFormat.

However just to give you an example of how to declare and refer to the DLL in Visual Basic:


Declare function ODMSelectDoc Lib "odma32.dll" (ByVal odmHandle as Long, ByVal lpszDocId as String, pdwFlags as Long) as integer

Again, the Infonuovo site listed above will be of great help in connecting and calling methods and functions from the DLL.

You can find an entire ODMA wrapper at http://odma.info/downloads/ODMA-OCX-200-0.zip.

This will give you examples of how to call the ODMA32 via Visual Basic.

If you choose to use HTTP calls, you'll have to build everything from scratch. If you use the ODMA32.dll, you will rely on Microsoft to continue including this DLL in future versions of their OS. However, it will provide you with a full programming interface to i.e. Domino.Doc.

ODMA and Domino.Doc API
When the ODMA has been installed, you can connect to the Domino.Doc server in a much more correct way, or rather, a more Domino.Doc specific way.

By opening the object browser in your Notes designer client, you will see many Domino.Doc related type libraries, but two of the most interesting type libraries (public methods and properties in a DLL) are Lotus Domino.Doc (DominoDoc.Api) and DominoDocUI (ddocodma.odmaui).

The object browser and the Lotus Domino.Doc (DominoDoc.Api) are shown in Figure B.

FIGURE B


Here is the object browser and the Lotus Domino.Doc (DominoDoc.Api). Roll over picture for a larger image.

The object browser and the DominoDocUI (ddocodma.odmaui) are shown in Figure C.

FIGURE C


Here is the object browser and the DominoDocUI (ddocodma.odmaui). Roll over picture for a larger image.

These are the two objects that you will typically use when programming Domino.Doc. The first one is the common API model, where you work with Domino.Doc in the "background," like when manipulating "notesdatatabase" and "notesdocument" objects in common LotusScript. The second is the entry point, when writing your own ODMA integrations to Domino.Doc. This is the ODMA interface that you use to navigate documents to and from Domino.Doc.

Let's briefly look at a few of the methods in the ODMA type library.

To get you started you can use:

set myODMA=CreateObject("ddocodma.odmaui")

This will let you get a handle to the ODMA interface. From here there are several options.

DoModalOpen() will present the ODMA open document interface. DoModalSave() will present the save interface. When you have called one of these methods, you will have to use either the property "openeddocument" or "saveddocument" to get to the document that you have chosen in the DoModalOpen/DoModalSave UI.

OK, lets try to use DoModalOpen():


Call myODMA.DoModalOpen()
Set myODMAdoc = myODMA.openeddocument

Now we've got a handle to the document that we have just chosen from the ODMA UI. From here we can use the "DominoDoc.Api" the same way as we used "ddocodma.odmaui" in the createobject line.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Lotus Technologies > Domino (77 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   Sloppy analysis at the core of another Domino vs. SharePoint report
Home > Strategies > Document Management (14 articles)
   An application for scanning physical mail and distributing it virtually
   Evaluating your Domino Document Manager (Domino.Doc) transition options
   What to look for in a Domino-based document management solution
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


Learn more at www.integra4notes.com.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login