Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement