G Guest Aug 31, 2007 #1 How can I view a .tif file using the Microsoft Office Document Imaging control? Does anyone have example code?
How can I view a .tif file using the Microsoft Office Document Imaging control? Does anyone have example code?
S Stephen Lebans Aug 31, 2007 #2 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.
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.
G Guest Sep 4, 2007 #3 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.
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.