Iwant To Open A Image With Windows Picture And Fax Viewer

jothis

Active Member
Licensed User
HI

I have a table And it contains many name of Picture Files And its Paths. I have also a button named Open When I click On it I want To Open The Image Using Windows Picture And Fax Viewer.

Is it Possible?

If It Is Not Possible I want To Open The Image To A new Form And I have A Button On That Form Named Save. When I click It I want To Save The Current Opened Image To Another Location.

Any One Can Help Me?
jothis
:sign0085:
 

sitajony

Active Member
Licensed User
Hi.

You can use this function:

B4X:
Shell(ImagePath)

It open your image with the default Image Viewer...
If you want open your image on a specific program you can type:

B4X:
Shell(YourProgram, ImagePath)
Good Luck ;)

Save The Current Opened Image To Another Location

For save your image you can use FileCopy():

B4X:
FileCopy(FileLocation, FileDestination)
The destination folder must be created before copy it in the folder destination...
 
Last edited:
Top