Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12186

Re: Drag Outlook message into Cavo application

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Drag Outlook message into Cavo application
Date Wed, 30 Jan 2019 05:06:57 +0100
Lines 48
Message-ID <gbcm73Fcg3hU1@mid.individual.net> (permalink)
References <6aa814d4-1caf-47e9-82e8-ac37ac941a0f@googlegroups.com> <d5a7f5e3-9c42-48f8-9266-7edc26284543@googlegroups.com> <ga2vjtF6t0tU1@mid.individual.net> <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>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
X-Trace individual.net lggyyumKof/mEY30ZaJDsQsBZRswBLeef0L6nZwvwnctjxXq0=
Cancel-Lock sha1:CnbXQsokXvza/7kzXsBsQfS5j3k=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:12186

Show key headers only | View raw


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


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