View .tif with MODI

MS Office Access

    Sponsored Links


  • 1. Geselsie
    Hallo Ds en Juffrou Aai dit was darem so lekker om so 'n lekker gesels briefie te kon kry. Dit gaan goed met ons en vertrou met julle ook. Chandre se partyjie was 'n reuse sukses. Die gaste het dit baie goed ervaar. Ons het die seeninge van Ds. oor hom laat uitspreek. Ds. Burger het hom baie goed van sy taak gekwyt. Ons sal die foto's kom wys. Sou wat wou gee om julle ook hier te kon he. Ds. en Sharon het gisteraand by ons kom eet en sommer vir Marshan met 'n boodskap op die pad gesit. Die stories rondom die troue kry net almeer stertjies en dit lyk asof die stof daar rondom nog lank nie sal gaan le nie. Sou ook help as Ds. nie so emosioneel elke slag daarop reageer nie. Die paartjie is baie verlief en geniet elke oomblik saam sodanig dat Ds. sommer help skottelgoed was en net wil he Sharon moet saam met hom rofstoei kyk. Die tyd het so gou gevlieg. Marshan het Vrydag by die huis gekom en ons het vandag saam met hom tot in Upington gery. Het veilig by die huis gekom en hy is veilig in Rustenburg. Ons is bly om te hoor van die Grootheid van die Liefde van die Here dat Hy die vrede vir Ds. hulle en die gemeente gegee het. Ons saak kom nog in November voor die Hooggeregshof. Ons bede is ook dat die Here se vrede oor ons gemeente sal kom. Groete vir die 3 meisies in Ds. lewe mag hulle vir Ds. baie bedref. Lekker aand en sterkte vir die werksaamhede. Martin en Sharon
  • 2. Order by Clause Causes new record to go to top of query
    Would you be so kind to look at the below MS Access SQL statement and tell me why when I add a record, it becomes the first record in the query table. This is driving me crazy. I enter a record and it moves to the top. I have never-ever encountered this and I have generated a lot of MS Access code. SELECT tblTasking.TaskID, tblTasking.DON, tblTasking.Employee, tblTasking.TaskStartDate, tblTasking.TaskEndDate, tblTasking.Task FROM tblTasking WHERE tblTasking.DON= 405 AND tblTasking.TaskStartDate> #10/21/2008# ORDER BY tblTasking.DON, tblTasking.TaskStartDate, tblTasking.Task; Does it have something to do with the ORDER BY datatypes being different????? Thank you for your help if you can,
  • 3. Auto Number in query design
    Hi, I am using a query to create a data table, in the query, i would like to add a new autonumber column (just autonumber the row), is there a function I can do this easily? -- Thanks a lot!
  • 4. How to take data from one field and split it into two fields?
    I'm redoing a database and need to make the Name field, which now contains the First Name AND Last Name in one field. I need to split the names up so they are each in their own separate fields ie: First Name and a 2nd field for Last Name. Is there an easy way to do this?

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