Information générale
Catégorie:
Fonctions Windows API
Versions des environnements
Network:
Windows 2003 Server
Hi Tore,
When I execute _CLIPTEXT = "file:///C:\WINDOWS\System32\calc.exe" in VFP, then switch to Outlook message and press Ctrl-V, I get the link pasted into the message.
>No, sorry. I don't need the name of the file, nor do I need the contents of the file, I need to store a link to the file into the clipboard. I am pretty sure that I must use an API function, but I don't know which.
>
>>Would this work?
>>_CLIPTEXT = PathToFile
>>
>>>In an application we need to copy a link to a file into the clipboard, so that we can paste this link into Outlook and create an attachemnt. If this description of my need is unclear, I will describe the scenario.
>>>
>>>My user receives an email asking for more information about a given product. He wants to reply by making some small comments, and attaching a file, for instance a PDF or a DOC. Information about which file he shall attach, is in a memo field. So I want to add a button to his form which creates a link to this specific file, so that when he writes the reply in Outlook, he can simply press ctrl-v, and the file is attached.
>>>
>>>Any suggestions?
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