Opening TIF files from Navision Financials

Paul_BradburyPaul_Bradbury Member Posts: 15
edited 2004-05-12 in Navision Financials
Has anyone used automation to open TIF files from Navision Financials, perhaps using Windows Imaging? I have tried it but the application is not displaying. My code is:

CREATE(img);
img.Image('Y:\MY DOCUMENTS\AAA\Fax.tif');
img.Display();

Where img is the Kodak Image Edit Control.

Any ideas?

If not, are there any other methods of opening TIF files?

Thanks.

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    If the file type *.TIF is registered in Windows, and associated with a application, you can use the HYPERLINK statement. This will open the program that is associated with the file type, automatically.
    HYPERLINK('Y:\MY DOCUMENTS\AAA\Fax.tif');
    
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Paul_BradburyPaul_Bradbury Member Posts: 15
    Luc,

    Thanks for the prompt reply - that has worked great. Saved me hours of messing about with automation too. Might go for lunch now.

    Thanks

    Paul.
Sign In or Register to comment.