View .tif with MODI

MS Office Access

    Sponsored Links

    Next

  • 1. Error opening Access databases
    I am getting the following error when I try to open a few of our access databases. Not all of them are having this issue. Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item. We are using Access 2003
  • 2. Problems writing a linked query in SQL
    Hello Newsgroup, I am doing some archive database and therefore got one table indexing every folder and one table storing which rack belongs to which department, eg: table folders : +-----------+------+-------+ | folder_id | rack | date | +===========+======+=======+ | 123456789 | 325 | 05/02 | +-----------+------+-------+ | 987654321 | 158 | 02/07 | +-----------+------+-------+ | 987485221 | 666 | 01/05 | +-----------+------+-------+ table racks: +----+------+------------+ | id | rack | department | +====+======+============+ | 1 | 158 | FKA/PKG | +----+------+------------+ | 2 | 555 | KOV/GDA | +----+------+------------+ | 3 | 666 | FKA/PKG | +----+------+------------+ | 4 | 123 | ORG/RET | +----+------+------------+ Now I have to select all the folders which have for example an equal date belonging to a certain department, meaning: - I have to find the racks belonging to eg "FKA/PGK" (158, 666) - Then I'll got to find every folder belonging to the racks 666 and 158 (987485221, 987654321) - Then I've got to find those which belong to a certain condition (eg. date <02/2001) Sure I could do that in three queries, but somehow I've got the feeling that SQL is powerfull enough to do this in one query. But how? thanks in advance Thorben Grosser
  • 3. Top values
    I have a table with 156 records in it. How do I extract n (integer number) records to make a statistics Top value in a query wouldn't help much because user can change number of records in a form
  • 4. John Viescas' Membership database
    Total Access Newbie here. Holy Guacamole, I just received "Building Access Applications" in the mail today, and I'm playing with the Membership database for my club/association. First roadblock: How do you add fields to a "linked" table? I want to add a couple of fields to tblMembers, but its giving me grief. When I try to open it in Design view, it says "Table 'tblMembers' is a linked table with some properties that can't be modified. Do you want to open it anyway?" So I say, sure. I open it and add my fields. Then when I try to save it, it says "Membership Tracking can't save property changes for linked tables. Do you want to continue anyway?" I say, sure... save it, open it back up, and rats, my fields aren't there. What do I need to do? James

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.

-- 

HTH
Stephen Lebans
 http://www.**--****.com/ 
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 
display.


  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


Thanks.









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,...

Thanks.

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
myMODI.Create("c:\testfile.tif")
myMODI.OCR()
{ does some work looking at the words in the myMODI.Images(0).Layout.Text 
property }
myMODI.Close(False)
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 
.mdi)?

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?

Thanks!

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