Create .MDI File

dfragoso
Member Posts: 18
Hello
I´m triyng to send a email using the codeunit 397, and i want to use a attachment file .mdi, but I don´t know how to create this kind of file.
I create a Automation 'Microsoft Office Document Imaging 11.0 Type Library'.Document as auxMDI.
The main objective is to run a report and save the same as .mdi file ](*,)
Thanks for the help. [-o<
I´m triyng to send a email using the codeunit 397, and i want to use a attachment file .mdi, but I don´t know how to create this kind of file.
I create a Automation 'Microsoft Office Document Imaging 11.0 Type Library'.Document as auxMDI.
CLEAR(EmployeeTable); Report.ApplyFilters(AuxMonth, AuxYear); EmployeeTable.SETRANGE("No.", EmployeeNumber); IF EmployeeTable.FIND('-') THEN BEGIN Report.SETTABLEVIEW(EmployeeTable); Create(auxMDI); auxMDI.SaveAs('C:\Report.mdi'); CLEAR(Report); END;
The main objective is to run a report and save the same as .mdi file ](*,)
Thanks for the help. [-o<
0
Comments
-
No one knows how to create a .mdi file?0
-
Never tried but I do see that after you install Office 2003 or later version that I do now have a Custom Control
Microsoft Office Document Imaging Viewer Control 11.0
C:\PROGRA~1\COMMON~1\MICROS~1\MODI\11.0\MDIVWCTL.DLL
that you can use.0 -
Savatage wrote:Never tried but I do see that after you install Office 2003 or later version that I do now have a Custom Control
Microsoft Office Document Imaging Viewer Control 11.0
C:\PROGRA~1\COMMON~1\MICROS~1\MODI\11.0\MDIVWCTL.DLL
that you can use.
This is the automation that i´m using, but i can´t create the .mdi file. ](*,)0 -
From what I juast quickly read online about MDI files is that it's MS's version of the PDF (kinda)
So perhaps you can look at how the PDF works and switch the PDF patrs for MDI. :-k
http://www.mibuso.com/forum/viewtopic.php?t=183310 -
Also I just notice when I look at my printers I have
Microsoft Office Document Image Writer PrinterStart->Printers & Faxes
If I look At the Printer Preferences of that printer and then the Advanced Tab. I can Set the Default Output from Tiff to MDI.
The you can print your report - or set the deault printer for that report to the Microsoft Office Document Image Writer printer and it will create a MDI file. I printed this topic and get
http://savatage99.googlepages.com/www.m ... ic0001.mdi0 -
Just to add:
I had to set the program to open that file type.
I found mine at
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPVIEW.exe0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions