View .tif with MODI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I view a .tif file using the Microsoft Office Document Imaging
control? Does anyone have example code?
 
Do a GoogleGroups search on:
lebans MODI

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

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top