View .tif with MODI

MS Office Access

    Sponsored Links


  • 1. Help w/Data Access Pages
    Hello, I'm trying to find information about Access 2000 Data Access Page and VBScript. More specifically, how to write VBScript to run queries in Access, retrieve values from user input and manipulate it, etc. I've tried the helpfiles, but it just talks about VBScripting in general, and I need to have the specifics for Access. Is there a newsgroup, forum, website, etc. that specializes in this? Pls let me know. Also, are there any good books out there somewhere that covers this, and not just Access in general. I appreciate any help. Thanx, Isbjornen
  • 2. Need help with Access Form
    Hello, I have created a fairly simple Access database (newbie). I have one form that is just a command form with links to other forms. This command form I have on my desktop. How can I make it so that when I click this form, only the forms I have created comes up in Access. I do not want the Forms, Tables, Queries, Reports, etc. box to display at all. I want this to act like its own special application. Please help.
  • 3. Error message on exit
    Upon exit, receiving the following error message: Table 'TempMSysAccessObjects' already exists. Click on OK and exit proceeds. Any advice on how to correct this? (Not a programmer; please respond in a layperson's lingo.) THANK YOU!
  • 4. tab cycling
    I'm making a data entry form. Is it possible to set the tab cycling so that one doesn't have to repeatedly press the tab key to cycle through to the end of a form if there are blank fields in a data entry form? Example: Enter data in several text boxes in a row. Then there are several blanks, and I want to go to the next row to enter new data. Instead of tabbing through the blank text boxes to reach the next row, I want to tab, for example, twice, to get to the next row.
  • 5. UPDATE a linked access table with value from a ODBC linked SQL table
    Hi, Ive been searching the net and this group for this problem, without any luck. I found some posts with a similar problem, but I could not get it work for me. Task: I want to update a field in one linked table (linked from another access db) with values from another linked table (MSSQL7). When I do this with a standard update query, everything is ok, but with vba code, its not ok. I have tried some different args for the OpenRecordset, but only to get various error codes. Here is a piece of my code... Dim dbsCurrDB As DAO.Database Dim rstSQLQueryResult As DAO.Recordset Dim strSQL As String strSQL = "UPDATE LinkAccessTable" & _ " INNER JOIN LinkODBCTable ON LinkAccessTable.PartNo = LinkODBCTable.PartNo " & _ " SET LinkAccessTable.Balance = LinkODBCTable!Balance ;" Set dbsCurrDB = CurrentDb Set rstSQLQueryResult = dbsCurrDB.OpenRecordset(strSQL) Do I have to split this one up, and create two record sets, one for each table, and then make my update from that? Is it possible?

View .tif with MODI

Postby bHVjeWs » Sun, 02 Sep 2007 04:30:03 GMT

How can I view a .tif file using the Microsoft Office Document Imaging 
control? Does anyone have example code? 

Re: View .tif with MODI

Postby Stephen Lebans » Sun, 02 Sep 2007 05:49:56 GMT

Do a GoogleGroups search on:
lebans MODI

Several of the threads point to sample source code you can download.


Stephen Lebans
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

Re: View .tif with MODI

Postby bHVjeWs » Wed, 05 Sep 2007 23:48:02 GMT

I still cannot get it to work.  Following is the code.  The image will not 

  Dim miDoc As MODI.document
  Dim myViewer As New MODI.MiDocView
  Set miDoc = New MODI.document
  Set myViewer = New MODI.MiDocView
  'open existing document
  miDoc.Create "C:\print\myfile.tif"
  'attach document to viewer
  myViewer.FileName = "C:\print\myfile.tif"

  Set miDoc = Nothing
  Set myViewer = Nothing


Similar Threads:

1.Using MODI to convert multi-page tif to single page tif

I have thousands of multipage tif images in many subdirectories that I need 
to convert into single page tifs.  I have vba code to do this (written in MS 
Access) that loops thru the directory tree and I can access info about the 
tifs using MODI.  What I'm looking to do now is convert/save the existing 
multiple page tif to a series of single page tifs so they can be imported 
into our image repository.  Anyone know how to do this?  For example, if the 
current multiple page tif is six pages is would create six single page tifs 
(e.g. sample1_page1.tif,sample1_page2.tif,...


2.MODI - tif file stays locked after .Close

I'm using a MODI reference in my VB .Net 2003 project, creating an MODI 
document object instance and using the .Create("myfilename.tif") method to 
load the document with a single image from a tiff file. After OCRing the 
text, I call the close method.
Problem is that MODI doesnt appear to release the file lock until the 
application closes, and i need to reuse the file name.

dim myMODI as MODI.Document
myMODI = New MODI.Document
{ does some work looking at the words in the myMODI.Images(0).Layout.Text 
property }
myMODI = nothing
Kill ("c:\testfile.tif") 

The kill statement fails saying that another program has the file open.
How can i get MODI to let go of the file?

Any help is appreciated.

3.MODI v12 can't open a .tif file that v11 can open without difficulty

When attempting to open a .tif file with MODI 12.0.4518.1014 I get the error 
"the selected file is not a valid microsoft office document imaging file". 
Opening this file on any machine with MODI 11.something works fine.  Is 
there a patch/fix/workaround for this?

4.Universal view of MODI files

Which PC's can view MODI (Microsoft Office Document Imaging) files (extension 

We have Office 2003 on a WinXP PC.  I wish to publish/distribute 
non-editable views, and might print PDF files (spin wheels eliminating page 
truncate in free/$20 PDF995 or spend $300 on Adobe Acrobat 7.0 Standard).

Or can everybody with a WinXP PC view/print the MODI files?  Or only if they 
have Office 2003?


-- GeneM
Knowledge Spunge (need spill-checker)

5.Viewing Tif files

6. Tif images created from MS Document writer cannot be viewed

7. Viewing tif and mdi files on Pocket PC 2003

8. How to view TIF on Access form?

Return to MS Office Access


Who is online

Users browsing this forum: No registered users and 72 guest