MODI Automation Docs?

C

Courtenay D

To quote the help file:
Support for Automation

Microsoft Office Document Imaging supports Automation. A
programmer can use a number of different programming
languages, for example Visual Basic, C++, or VBScript, to
manipulate exposed objects by invoking methods on the
object or by getting and setting the object's properties.
Office Document Imaging exposes a document object, and a
viewer object, so that a program can be written for
example to open a Tagged Image File Format (TIFF) or
Microsoft Document Imaging Format (MDI) document, change
the zoom scale, compression options, and OCR text
information.

Where is the documentation for these objects? I'm
looking to replace my use of the Kodak Imaging (now
eiStream) in my Access and .NET programs.
 
W

Wei-Dong Xu [MSFT]

Hi Courtenay,

It will be appreciated you tell me where you find the help information. So
far as I know, the picture utility in Office 2003 is Microsoft Office
Picture Manager. There is one MSDN link concerning how to launch this
utility. Please go to:
OISClientLauncher Control
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/htm
l/spptoiscontrol.asp?frame=true

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Courtenay D

I'm running C:\Program Files\Common Files\Microsoft
Shared\MODI\11.0\mspview.exe.

Its title bar is Microsoft Office Document Imaging.

From the start menu its Microsoft Office\Microsoft Office
Tools\Microsoft Office Document Imaging.

When I bring up the help file, and click on the "What's new in
Microsoft Document Imaging, it has the following:

Support for Automation

Microsoft Office Document Imaging supports Automation. A programmer
can use a number of different programming languages, for example
Visual Basic, C++, or VBScript, to manipulate exposed objects by
invoking methods on the object or by getting and setting the object's
properties. Office Document Imaging exposes a document object, and a
viewer object, so that a program can be written for example to open a
Tagged Image File Format (TIFF) or Microsoft Document Imaging Format
(MDI) document, change the zoom scale, compression options, and OCR
text information.

I'd like to use the activex controls for display and manipulation of
..tiff files in my own access vba and .net code, to replace the old
Kodak Imaging ones.

I've been able to locate the controls and load them into my .net
forms, but I'm unable to locate the documentation for the methods,
properties and events of these controls.

Can you please point me in the correct direction?

Thank-you.
 
C

Courtenay D

As a followup to my own post, here is some more information from the
help file, from the Automation section (this is, in fact, everything
from the Automation section of my help file):

About Office Document Imaging Automation
Microsoft Office Document Imaging supports Automation. When an
application supports Automation, the objects the application exposes
can be accessed by Visual Basic. A programmer can use a number of
different programming languages, for example Visual Basic, C++, or
VBScript, to manipulate these objects by invoking methods on the
object or by getting and setting the object's properties. Office
Document Imaging exposes a document object, and a viewer object, so
that a program can be written for example to open a Tagged Image File
Format (TIFF) or Microsoft Document Imaging Format (MDI) document,
change the zoom scale, compression options, and OCR text information.

For details on the properties and methods supported by Microsoft
Office Document Imaging, visit the Microsoft Developer Network Web
site. There you can find the objects, functions, properties, and
methods supported by Microsoft Office Document Imaging, along with
additional programming information and code samples.

Find MODI VBA Reference on MSDN
The Microsoft Office Document Imaging 2003 (MODI) application exposes
its functionality through programmable objects. However, the
documentation for the MODI object model is not included in the Help
files that were installed when you installed Microsoft Office 2003.

Programmers wanting to use the MODI objects in other applications as
part of a custom application can easily add the MODI object library to
their project. You can also obtain the MODI object documentation on
MDSN.

To add the MODI object library

From the Tools menu, choose References to display the References
dialog box.
Scroll down to find the Microsoft Office Document Imaging 11.0 Type
Library.
Select the checkbox for the MODI library, then click OK.
Your Visual Basic project now has a reference to the application's
object library. If you open the Object Browser (press F2) and select
the application's library, it displays the objects provided by the
selected object library, as well as each object's methods and
properties. In the Object Browser, you can select a class in the
Classes box and select a method or property in the Members box. Use
copy and paste to add the syntax to your code.
To obtain the MODI VBA reference documentation

Connect to Microsoft Developer Network Library.
In the navigation pane, expand the Office Solutions Development node.
Click Microsoft Office, then click Microsoft Office 2003, and then
click VBA Language Reference.

The 'VBA Language Reference' mentioned is not on either the online
MSDN Library, nor on the MSDN Library Jan 2004 I just installed on my
system.

Where is the documentation for these objects (document object, viewer
object) please?
 
W

Wei-Dong Xu [MSFT]

Hi Courtenay,

Thank you for the replying and the detailed information for this issue!

For the VBA reference for MODI, you can find it from the link below:
Office 2003: Microsoft Office Document Imaging Visual Basic Reference (MODI)
http://www.microsoft.com/downloads/details.aspx?FamilyID=8f93e445-b1cf-4477-
a373-e17417d616bc&DisplayLang=en

If this reference is not very useful for your developer or you have any
question regarding this reference, please feel free to let me know.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei-Dong Xu [MSFT]

Hi Courtenay,

Thank you for replying!

It is my pleasure to be some of service. During your development, if you
have any question to this reference, please feel free to let me know.

Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

abbasali

Hi...

i m trying to build a solution by using Microsoft document Imaging.
The vba help which is supplied in msdn is really helpfull but when i
comes to searching / find option,
there is not impressive work done regarding find / findnext .
It only finds 1 occurance of a given text criteria. When the metho
called. Modisearch.Initialize()
thought there are many occurances seems to be appeared in the *.MDI
document.

I hope you can understand the gravity of the situation, what
programmer can face at the time of development.

And one thing more. I have downloaded the vba help file from msd
website & also hv latest msdn July 2005, but still not
satisfactory.

Waiting for your earliest reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top