> DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,; > STRING cOperation,; > STRING cFileName,; > STRING cParameters,; > STRING cDirectory,; > INTEGER nShowWindow > result = ShellExecute(0, 'Edit', YourPictureFieldHere , '', '', 1) > DO CASE > CASE result == 0 && The system is out of memory or resources. > msg = "The system is out of memory or resources." > CASE result == 2 && Bad Association (for example, invalid URL) > msg = "Bad Association" > CASE result == 29 && Failure to load application > msg = "Failure to load application" > CASE result == 30 && Application is busy > msg = "Application is busy" > CASE result == 31 && No application association > msg = "No application association" > ENDCASE > IF INLIST(result, 0, 2, 29, 30, 31) > MessageBox(msg, 0 + 64) > ENDIF >>