Hi!
DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
INTEGER nWinHandle, STRING cOperation,;
STRING cFileName, STRING cParameters,;
STRING cDirectory, INTEGER nShowWindow
ShellExecute(0, "", "c:\sample.jpg", "", "",1)
>I want to add a button at my product screen layout, click on it, that will display/view a .JPG file (product's photo).
>I don't want to display the .JPG file in FoxPro (cause that will not in full size).
>And i'm not sure what "view photo application" had install at that workstation.
>(i find that, when i double-click on a photo file in Window, it will open it default from ACDSee application)
>How can i open it by default application, while click on this button ??