Previously I was adding the images as an attachment but even with reduced quality images the size of the DB was getting big & bloated. I was given the code to get & store the link to the file on my local drive.
It all works great except for when I click the 'view icon', it brings up the windows 10 "how do you want to open this file" suggesting one app and listing other image viewing app.
Even with the Windows 10 photo app set to open jpg by default and then clicking the 'always use this app' checkbox the same happens the next time you try to view an image. clicking ok works and image opens to view.
I'm using Call ExecuteFile(Me.FullFileName, "Open") to open the image. Is it possible to add the name of the app/program to the command line to bypass the option box and open the image directly form the command line?
It all works great except for when I click the 'view icon', it brings up the windows 10 "how do you want to open this file" suggesting one app and listing other image viewing app.
Even with the Windows 10 photo app set to open jpg by default and then clicking the 'always use this app' checkbox the same happens the next time you try to view an image. clicking ok works and image opens to view.
I'm using Call ExecuteFile(Me.FullFileName, "Open") to open the image. Is it possible to add the name of the app/program to the command line to bypass the option box and open the image directly form the command line?