View .tif with MODI

MS Office Access

    Sponsored Links


  • 1. Refresh option Group
    Hi I have been messing around with this for ages and now have a mind block :-) I have a form with an option group. A user enters data and selects various option group options. But.... when they select add a new record the option "hangs over" to the new record. Of course they think they option is slected but this does not action on OnClick event. This does not happen OnLoad or OnOpen just DoCmd.GoToRecord , , acNewRec I have tried Me.XXXXXX.refresh etc etc If Me.New Record......then etc etc Me.XXXXXX.etc etc I can Me.XXXXX.backcolor=vbWhite But all this does is change the colour so it "appears" unselected but it does not "deselect" the option Getting nowhere. There is no defualt option set for the group so am lost as why the option group will hang over to the next record. Question - How do I set the option group back to nothing selected Many thanks -- Wayne Manchester, England.
  • 2. how to link list box with form
    Greeting, I have a form for entering and search for info. In this form there are text box for search and listbox for showing search results. What I want to do is once search results appear, the user will dbl click on the results he wants and the form fields show the details of that item. I put the following sql in the form control source : SELECT utilizing.* FROM utilizing; And the following sql for list box SELECT utilizing.idn, utilizing.founame, utilizing.proname, utilizing.utilizdate, utilizing.lumpvalue, utilizing.notes FROM utilizing WHERE (((utilizing.founame) Like "*" & forms!utilizing!serutill & "*")); And on the event dbl click of the list box : Me.RecordSource = "SELECT utilizing.idn, utilizing.founame, utilizing.proname, utilizing.utilizdate, utilizing.lumpvalue, utilizing.notes FROM utilizing WHERE (((utilizing.founame) Like " * " & forms!utilizing!serutill & " * ")); " Once I dbl click on the list box item that I want , a message appears and tells" type mismatch error 13" Any help please?
  • 3. Package and Deployment?
    I am "self taught" Access user (As are a lot of people I sure!) I have created the database, and all works well on this end. I had to upload the database to an ftp site for review. I had the oft seen blahblah.ocx missing, and got that fixed for the reviewers. Now some of them are getting library files missing. I could stumble through trying to figure it thanks. HEADACHE My thoughts were to use a package wizard add-in, but it is not loaded on this computer, and it is not on the available cd (I don't think) WHat is my next step? Help -- Stumbling through life on accident...
  • 4. Access 2003 bloating
    I created a mdb in Access 2000 that we use for data conversions/manipulations etc. When we run this in 2000, I can run the entire process without hitting the 2GB size limit as long as the number of records do not exceed around 350,000 (individual records are very large). Here at work i recently inherited a newly used pc with Office 2003 (keeping up with the times) and when i try to run the same program, it quickly gains size and in no time reaches the 2 gig size limit. Even if I put in 100,000 records at a time, it still bloats up and hits the size limit. Anyway to solve this? Fixes? Or do I need to regress to Office2000?
  • 5. Validation arguments
    I'm trying to set up a field that will allow you to type in a number between 200 and 299, is there a way I can do this with my validation rule? Thanx!

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