Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12186
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Drag Outlook message into Cavo application |
| Date | 2019-01-30 05:06 +0100 |
| Message-ID | <gbcm73Fcg3hU1@mid.individual.net> (permalink) |
| References | (3 earlier) <q2kj1u$af2$1@news-1.m-online.net> <gb7n3tF9hcaU1@mid.individual.net> <b21c66b0-16cd-41df-8d5f-2222850475fb@googlegroups.com> <gba0ooFp46tU1@mid.individual.net> <b4f5e718-87ea-419c-abba-3138b6642ca3@googlegroups.com> |
Hi Szepligeti,
> I mean, I wanted a VO example detail.
> How did you save the email?
if you drag the email to your VO application, it is simply a .msg file.
You can take the file and copy it to another location if needed:
method Drop( oEvent ) class DokWindow
local nI as dword
local oFS as FileSpec
local aFiles as array
super:Drop( oEvent )
if oEvent:FileCount > 0
aFiles := {}
for nI := 1 upto oEvent:FileCount
oFS := FileSpec{ oEvent:FileName( nI ) }
AAdd( aFiles, oFS:FullPath )
next
self:DropFiles( aFiles )
endif
return nil
method DropFiles( aFiles as array ) as logic pascal class DokWindow
local nI as dword
local nLen as dword
local cSource as string
local cTarget as string
nLen := ALen( aFiles )
for nI := 1 upto nLen
cSource := aFiles[nI]
cTarget := self:DokFolder + GetFileNameFromPath( cSource )
CopyFileEx( cSource, cTarget )
next
return true
I have removed all error handling from these methods.
CopyFileEx() is a function that copies a file and shows a progress box.
Wolfgang
--
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Drag Outlook message into Cavo application Sjonnie D <sjonnied@gmail.com> - 2018-10-24 07:51 -0700
Re: Drag Outlook message into Cavo application BenWoestenburg@ziggo.nl - 2018-10-25 03:42 -0700
Re: Drag Outlook message into Cavo application Sjonnie D <sjonnied@gmail.com> - 2018-10-25 05:30 -0700
Re: Drag Outlook message into Cavo application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-01-14 09:29 +0100
Re: Drag Outlook message into Cavo application Gerhard Bunzel <g.bunzel@domonet.de> - 2019-01-27 16:34 +0100
Re: Drag Outlook message into Cavo application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-01-28 07:51 +0100
Re: Drag Outlook message into Cavo application szepligeti@gmail.com - 2019-01-28 07:15 -0800
Re: Drag Outlook message into Cavo application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-01-29 04:48 +0100
Re: Drag Outlook message into Cavo application szepligeti@gmail.com - 2019-01-28 23:15 -0800
Re: Drag Outlook message into Cavo application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-01-30 05:06 +0100
Re: Drag Outlook message into Cavo application szepligeti@gmail.com - 2019-01-29 23:34 -0800
Re: Drag Outlook message into Cavo application Sjonnie D <sjonnied@gmail.com> - 2019-02-07 08:31 -0800
Re: Drag Outlook message into Cavo application BenWoestenburg@ziggo.nl - 2018-10-25 05:46 -0700
Re: Drag Outlook message into Cavo application Mariette <mariette@kleijn.com> - 2018-10-29 08:36 -0700
Re: Drag Outlook message into Cavo application BenWoestenburg@ziggo.nl - 2018-11-01 02:40 -0700
csiph-web