>Dear Cetin,
>
>LOCAL lcPicture
>lcPicture = vpict.picture && Get name and location of the file
>lcTempDir = SYS(2023)
>THISFORM.shellExecute.ShellExecute("&lcPicture", "&lcTempDir", "open")
>
>I found out that this is all the code I needed, after addobjecting a shellexecute-object to the form. The use of the right verb is critical for starting the right server. "open" starts the windows viewer for pictures, faxes etc. (desired) and "edit" starts MS-paint or MS-Notepad.
>
>Thanks again for your support!
>
>Evert.
You're welcome. However remove macro substition:
THISFORM.shellExecute.ShellExecute(m.lcPicture, m.lcTempDir, "open")
Cetin