View .tif with MODI

MS Office Access

    Sponsored Links


  • 1. Local SQL Server database
    hi, i've just installed my 2005 express edition SQl Server. How can i create a database in my destop server? What will i do to rename my SQL server? How to detect my local server. thanks,
  • 2. Error message-Success
    I was able to fix the problem (with the inspiration you provided). I made a copy of the form, pasted it with a new name, deleted the old one, renamed the new one with the old name...problem gone Thank, take care and always think success Jean "Jet" wrote: > Great suggestion, but no luck, still getting the same error message. > The help reference on the error message to "Microsoft Knowledge Base article > 283806, but in reading it I can seem to figure it out. > > Any suggestions? > > "John Vinson" wrote: > > > On Mon, 7 Aug 2006 12:18:02 -0700, Jet < XXXX@XXXXX.COM > > > wrote: > > > > >John, > > > > > >You are correct, I was trying to add a "Close" button. > > > > > > > The wizard must be having a bad week. <g> > > > > Try adding some specificity: > > > > Private Sub Command38_Click() > > On Error GoTo Err_Command38_Click > > > > > > DoCmd.Close acForm, Me.Name > > > > Exit_Command38_Click: > > Exit Sub > > > > Err_Command38_Click: > > MsgBox Err.Description > > Resume Exit_Command38_Click > > > > End Sub > > > > > > > > John W. Vinson[MVP] > >
  • 3. Access Shortcut
    I am not able to open an Access 2000 database from a shortcut. When trying to open a database from a shortcut, Access tries to locate/download something from SR1 disc. I am able to open the Access application and then open a database through with Access. I do not think having to install something from a disc is the answer. Any answers or suggestions? Thanks.
  • 4. Custom Mask
    I want to make a database set up such that when a user enters data int a certain text type cell a function I wrote will format the text. e.g User will input (a) name(s) and I will then be able to convert all th names in the DB to Xxxxxxx format. (I know, using mas ">L<CCCCCCCCCCCCCCCC" does this. I want MORE control.) How do I pul this off? Thanking you in advanced
  • 5. Criteria for Auto Populating
    I am trying to auto populate a resolved date based on whether an option from a combo box was picked or whether a check box was clicked. If the Compliment check box is checked then I need the resolved date to auto populate for 30 working days from today's date. If an option from the Complaint combo box is chosen then I need to have the resolve date populate 30 business days from today's date. Since I am new with access I'm not sure where to start - I have copied the workday's module, I'm not sure if this is what I need, but I am not quite sure what to do with it now that I have is saved as a module.

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 93 guest