 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Salvador Huertas Guest
|
Posted: Fri Mar 18, 2005 8:33 am Post subject: Opening a attachment. |
|
|
Hello friends,
I can open a IdMessage from a file reading it with the function
"Loadfromfile", but, how can I open one attachment file with the default
windows program assigned?. I would like doing a double click uppon a *.pdf
file and that the Acrobat Reader start running it.
Thanks in advance!!
Salvador Huertas.
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri Mar 18, 2005 9:10 am Post subject: Re: Opening a attachment. |
|
|
"Salvador Huertas" <none@none> wrote
| Quote: | how can I open one attachment file with the default windows program
assigned? |
You need to first save the attachment to a file, and then you can pass the
filename to the Win32 API ShellExecute() function.
Gambit
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|