Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Drag and drop: need to register object/window for drag n drop mails from outlook.

6 posts in Objects Last posting was on 2009-05-19 04:32:51.0Z
Maarten Posted on 2009-05-15 10:25:37.0Z
Sender: f52.4a0d3e43.1804289383@sybase.com
From: Maarten
Newsgroups: sybase.public.powerbuilder.objects
Subject: Drag and drop: need to register object/window for drag n drop mails from outlook.
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a0d4321.fea.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 15 May 2009 03:25:37 -0700
X-Trace: forums-1-dub 1242383137 10.22.241.41 (15 May 2009 03:25:37 -0700)
X-Original-Trace: 15 May 2009 03:25:37 -0700, 10.22.241.41
Lines: 46
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9844
Article PK: 736974

Dear all,

I got a problem with dragging and dropping mails from
outlook into a window or an object(listiew, ...) on a
window.

I first tried drag and dropping files on a listview and this
worked perfectly (i even got the right icon into the
listview).

but it seems dragging and dropping mails from outlook is a
lot more difficult.
the thing I want to do is to drag and drop an email from
outlook and save it's message to a certain directory to
begin with (maybe later I want that message to be inserted
immediately into a multiline edit control)

But I already found a program on the internet that does the
thing i want!

http://www.catsoft.ch/en/asp/page.aspx?key=downloads <<
look for “Drag & Drop in PB”
http://www.catsoft.ch/files/pbdragdrop.zip << direct
download

I must say it is a small program but it does exactly what i
need.
but if I look at the program it seems to use a dll to
register the window for drag and drop for emails. (correct
me if I am wrong)

my question is now how do you register a window for dragging
and dropping emails? (I can't use the dll from the site
above because of security reasons of the company I work for)

my guess is to make a dll in c# and somehow register it but
I don’t really know how.
I have tried several things in c#.
(I have been looking for a solution for over a week)

I am using powerbuilder 11.2 build 8616 and visual studio
2008 (express edition)

Thanks

Maarten


Ken Posted on 2009-05-15 15:10:42.0Z
Sender: 5875.4a0b2b9b.1804289383@sybase.com
From: Ken
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Drag and drop: need to register object/window for drag n drop mails from outlook.
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a0d85f2.1a66.1681692777@sybase.com>
References: <4a0d4321.fea.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 15 May 2009 08:10:42 -0700
X-Trace: forums-1-dub 1242400242 10.22.241.41 (15 May 2009 08:10:42 -0700)
X-Original-Trace: 15 May 2009 08:10:42 -0700, 10.22.241.41
Lines: 60
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9845
Article PK: 736975

1. Drag from Outlook to the desktop, then to your app. (May
be a temporary solution.)
2. Search for the VB/C++/C# code that duplicates the MS
drag-and-drop from Outlook to the desktop. (I’ve come
across it once or twice, but C code is too much of a memory
for me now and I don't have VS available.)
3. Hire Arthur Hefti at catsoft to help you implement his
code used to create the dddll.dll, which essentially does
#2. This would probably be cheaper in the long run.
(tongue-in-cheek).
4. Convince the powers-that-be to use the catsoft dll.
JMTCW Ken

> Dear all,
>
> I got a problem with dragging and dropping mails from
> outlook into a window or an object(listiew, ...) on a
> window.
>
> I first tried drag and dropping files on a listview and
> this worked perfectly (i even got the right icon into the
> listview).
>
> but it seems dragging and dropping mails from outlook is a
> lot more difficult.
> the thing I want to do is to drag and drop an email from
> outlook and save it's message to a certain directory to
> begin with (maybe later I want that message to be inserted
> immediately into a multiline edit control)
>
> But I already found a program on the internet that does
> the thing i want!
>
> http://www.catsoft.ch/en/asp/page.aspx?key=downloads <<
> look for “Drag & Drop in PB”
> http://www.catsoft.ch/files/pbdragdrop.zip << direct
> download
>
> I must say it is a small program but it does exactly what
> i need.
> but if I look at the program it seems to use a dll to
> register the window for drag and drop for emails. (correct
> me if I am wrong)
>
> my question is now how do you register a window for
> dragging and dropping emails? (I can't use the dll from
> the site above because of security reasons of the company
> I work for)
>
> my guess is to make a dll in c# and somehow register it
> but I don’t really know how.
> I have tried several things in c#.
> (I have been looking for a solution for over a week)
>
> I am using powerbuilder 11.2 build 8616 and visual studio
> 2008 (express edition)
>
> Thanks
>
> Maarten


Arthur Hefti Posted on 2009-05-15 16:54:48.0Z
From: Arthur Hefti <arthur@catsoft.ch>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Drag and drop: need to register object/window for drag n drop mails from outlook.
Message-ID: <MPG.2477bcbec8ff0d7b989680@forums.sybase.com>
References: <4a0d4321.fea.1681692777@sybase.com> <4a0d85f2.1a66.1681692777@sybase.com>
Organization: CATsoft Development GmbH
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.80.0
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 15 May 2009 09:54:48 -0700
X-Trace: forums-1-dub 1242406488 10.22.241.152 (15 May 2009 09:54:48 -0700)
X-Original-Trace: 15 May 2009 09:54:48 -0700, vip152.sybase.com
Lines: 61
X-Authenticated-User: pb12beta
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9846
Article PK: 736973

Ken

thanks for your list of options in. I have 5th suggestion: I could sell
the source code of the DLL ;-).

Regards
Arthur

In article <4a0d85f2.1a66.1681692777@sybase.com>, Ken says...

>
> 1. Drag from Outlook to the desktop, then to your app. (May
> be a temporary solution.)
> 2. Search for the VB/C++/C# code that duplicates the MS
> drag-and-drop from Outlook to the desktop. (I?ve come
> across it once or twice, but C code is too much of a memory
> for me now and I don't have VS available.)
> 3. Hire Arthur Hefti at catsoft to help you implement his
> code used to create the dddll.dll, which essentially does
> #2. This would probably be cheaper in the long run.
> (tongue-in-cheek).
> 4. Convince the powers-that-be to use the catsoft dll.
> JMTCW Ken
>
> > Dear all,
> >
> > I got a problem with dragging and dropping mails from
> > outlook into a window or an object(listiew, ...) on a
> > window.
> >
> > I first tried drag and dropping files on a listview and
> > this worked perfectly (i even got the right icon into the
> > listview).
> >
> > but it seems dragging and dropping mails from outlook is a
> > lot more difficult.
> > the thing I want to do is to drag and drop an email from
> > outlook and save it's message to a certain directory to
> > begin with (maybe later I want that message to be inserted
> > immediately into a multiline edit control)
> >
> > But I already found a program on the internet that does
> > the thing i want!
> >
> > http://www.catsoft.ch/en/asp/page.aspx?key=downloads <<
> > look for ?Drag & Drop in PB?
> > http://www.catsoft.ch/files/pbdragdrop.zip << direct
> > download
> >
> > I must say it is a small program but it does exactly what
> > i need.
> > but if I look at the program it seems to use a dll to
> > register the window for drag and drop for emails. (correct
> > me if I am wrong)
> >
> > my question is now how do you register a window for
> > dragging and dropping emails? (I can't use the dll from
> > the site above because of security reasons of the company
> > I work for)
> >


Maarten_deme Posted on 2009-05-15 19:25:07.0Z
From: Maarten_deme <duve.maarten@deme.be>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Drag and drop: need to register object/window for drag n drop mails from outlook.
Date: Fri, 15 May 2009 12:25:07 -0700 (PDT)
Organization: http://groups.google.com
Lines: 71
Message-ID: <09823ef7-8941-4c94-a7b8-629651b63769@o30g2000vbc.googlegroups.com>
References: <4a0d4321.fea.1681692777@sybase.com> <4a0d85f2.1a66.1681692777@sybase.com> <MPG.2477bcbec8ff0d7b989680@forums.sybase.com>
NNTP-Posting-Host: 78.20.234.218
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1242415507 23176 127.0.0.1 (15 May 2009 19:25:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 15 May 2009 19:25:07 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: o30g2000vbc.googlegroups.com; posting-host=78.20.234.218; posting-account=xytAewoAAADbzuGTVI16hExjUgmYru6I
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!postnews.google.com!o30g2000vbc.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9849
Article PK: 736978

Arthur,

i'll have to ask my work for that :)
if you would sell it, for how much would that be? so i can make a
proposal to my company.

Regards
Maarten

On 15 mei, 18:54, Arthur Hefti <art...@catsoft.ch> wrote:
> Ken
>
> thanks for your list of options in. I have 5th suggestion: I could sell
> the source code of the DLL ;-).
>
> Regards
> Arthur
>
> In article <4a0d85f2.1a66.1681692...@sybase.com>, Ken says...
>
>
>
> > 1.  Drag from Outlook to the desktop, then to your app. (May
> > be a temporary solution.)
> > 2.  Search for the VB/C++/C# code that duplicates the MS
> > drag-and-drop from Outlook to the desktop.  (I?ve come
> > across it once or twice, but C code is too much of a memory
> > for me now and I don't have VS available.)
> > 3.  Hire Arthur Hefti at catsoft to help you implement his
> > code used to create the dddll.dll, which essentially does
> > #2.  This would probably be cheaper in the long run.
> > (tongue-in-cheek).
> > 4.  Convince the powers-that-be to use the catsoft dll.
> > JMTCW Ken
>
> > > Dear all,
>
> > > I got a problem with dragging and dropping mails from
> > > outlook into a window or an object(listiew, ...) on a
> > > window.
>
> > > I first tried drag and dropping files on a listview and
> > > this worked perfectly (i even got the right icon into the
> > > listview).
>
> > > but it seems dragging and dropping mails from outlook is a
> > > lot more difficult.
> > > the thing I want to do is to drag and drop an email from
> > > outlook and save it's message to a certain directory to
> > > begin with (maybe later I want that message to be inserted
> > > immediately into a multiline edit control)
>
> > > But I already found a program on the internet that does
> > > the thing i want!
>
> > >http://www.catsoft.ch/en/asp/page.aspx?key=downloads<<
> > > look for ?Drag & Drop in PB?
> > >http://www.catsoft.ch/files/pbdragdrop.zip<< direct
> > > download
>
> > > I must say it is a small program but it does exactly what
> > > i need.
> > > but if I look at the program it seems to use a dll to
> > > register the window for drag and drop for emails. (correct
> > > me if I am wrong)
>
> > > my question is now how do you register a window for
> > > dragging and dropping emails? (I can't use the dll from
> > > the site above because of security reasons of the company
> > > I work for)


Arthur Hefti Posted on 2009-05-19 04:32:51.0Z
From: Arthur Hefti <arthur@catsoft.ch>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Drag and drop: need to register object/window for drag n drop mails from outlook.
Message-ID: <MPG.247c54d5a8d9f263989681@forums.sybase.com>
References: <4a0d4321.fea.1681692777@sybase.com> <4a0d85f2.1a66.1681692777@sybase.com> <MPG.2477bcbec8ff0d7b989680@forums.sybase.com> <09823ef7-8941-4c94-a7b8-629651b63769@o30g2000vbc.googlegroups.com>
Organization: CATsoft Development GmbH
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
User-Agent: MicroPlanet-Gravity/2.80.0
X-Original-NNTP-Posting-Host: vip152.sybase.com
X-Original-Trace: 18 May 2009 20:21:43 -0700, vip152.sybase.com
Lines: 61
X-Original-NNTP-Posting-Host: forums-3-dub.sybase.com
X-Original-Trace: 18 May 2009 21:32:48 -0700, forums-3-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 18 May 2009 21:32:51 -0700
X-Trace: forums-1-dub 1242707571 10.22.108.75 (18 May 2009 21:32:51 -0700)
X-Original-Trace: 18 May 2009 21:32:51 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9850
Article PK: 736980

Maarten

I send you a private email about this.

Regards
Arthur

In article <09823ef7-8941-4c94-a7b8-629651b63769
@o30g2000vbc.googlegroups.com>, duve.maarten@deme.be says...

>
> Arthur,
>
> i'll have to ask my work for that :)
> if you would sell it, for how much would that be? so i can make a
> proposal to my company.
>
> Regards
> Maarten
>
> On 15 mei, 18:54, Arthur Hefti <art...@catsoft.ch> wrote:
> > Ken
> >
> > thanks for your list of options in. I have 5th suggestion: I could sell
> > the source code of the DLL ;-).
> >
> > Regards
> > Arthur
> >
> > In article <4a0d85f2.1a66.1681692...@sybase.com>, Ken says...
> >
> >
> >
> > > 1.  Drag from Outlook to the desktop, then to your app. (May
> > > be a temporary solution.)
> > > 2.  Search for the VB/C++/C# code that duplicates the MS
> > > drag-and-drop from Outlook to the desktop.  (I?ve come
> > > across it once or twice, but C code is too much of a memory
> > > for me now and I don't have VS available.)
> > > 3.  Hire Arthur Hefti at catsoft to help you implement his
> > > code used to create the dddll.dll, which essentially does
> > > #2.  This would probably be cheaper in the long run.
> > > (tongue-in-cheek).
> > > 4.  Convince the powers-that-be to use the catsoft dll.
> > > JMTCW Ken
> >
> > > > Dear all,
> >
> > > > I got a problem with dragging and dropping mails from
> > > > outlook into a window or an object(listiew, ...) on a
> > > > window.
> >
> > > > I first tried drag and dropping files on a listview and
> > > > this worked perfectly (i even got the right icon into the
> > > > listview).
> >
> > > > but it seems dragging and dropping mails from outlook is a
> > > > lot more difficult.
> > > > the thing I want to do is to drag and drop an email from
> > > > outlook and save it's message to a certain directory to


Maarten_deme Posted on 2009-05-15 19:23:06.0Z
From: Maarten_deme <duve.maarten@deme.be>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Drag and drop: need to register object/window for drag n drop mails from outlook.
Date: Fri, 15 May 2009 12:23:06 -0700 (PDT)
Organization: http://groups.google.com
Lines: 67
Message-ID: <59531bc8-e589-4578-bd3e-5da18696371d@z19g2000vbz.googlegroups.com>
References: <4a0d4321.fea.1681692777@sybase.com> <4a0d85f2.1a66.1681692777@sybase.com>
NNTP-Posting-Host: 78.20.234.218
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1242415387 19239 127.0.0.1 (15 May 2009 19:23:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 15 May 2009 19:23:07 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: z19g2000vbz.googlegroups.com; posting-host=78.20.234.218; posting-account=xytAewoAAADbzuGTVI16hExjUgmYru6I
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!z19g2000vbz.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9848
Article PK: 736981

thx for the options i'll try them as soon i can get on the network of
my work.
but they are doing works at the network so probably can't access it
again until monday

On 15 mei, 17:10, Ken wrote:
> 1.  Drag from Outlook to the desktop, then to your app. (May
> be a temporary solution.)
> 2.  Search for the VB/C++/C# code that duplicates the MS
> drag-and-drop from Outlook to the desktop.  (I’ve come
> across it once or twice, but C code is too much of a memory
> for me now and I don't have VS available.)
> 3.  Hire Arthur Hefti at catsoft to help you implement his
> code used to create the dddll.dll, which essentially does
> #2.  This would probably be cheaper in the long run.
> (tongue-in-cheek).
> 4.  Convince the powers-that-be to use the catsoft dll.
> JMTCW Ken
>
> > Dear all,
>
> > I got a problem with dragging and dropping mails from
> > outlook into a window or an object(listiew, ...) on a
> > window.
>
> > I first tried drag and dropping files on a listview and
> > this worked perfectly (i even got the right icon into the
> > listview).
>
> > but it seems dragging and dropping mails from outlook is a
> > lot more difficult.
> > the thing I want to do is to drag and drop an email from
> > outlook and save it's message to a certain directory to
> > begin with (maybe later I want that message to be inserted
> > immediately into a multiline edit control)
>
> > But I already found a program on the internet that does
> > the thing i want!
>
> >http://www.catsoft.ch/en/asp/page.aspx?key=downloads<<
> > look for “Drag & Drop in PB”
> >http://www.catsoft.ch/files/pbdragdrop.zip<< direct
> > download
>
> > I must say it is a small program but it does exactly what
> > i need.
> > but if I look at the program it seems to use a dll to
> > register the window for drag and drop for emails. (correct
> > me if I am wrong)
>
> > my question is now how do you register a window for
> > dragging and dropping emails? (I can't use the dll from
> > the site above because of security reasons of the company
> > I work for)
>
> > my guess is to make a dll in c# and somehow register it
> > but I don’t really know how.
> > I have tried several things in c#.
> > (I have been looking for a solution for over a week)
>
> > I am using powerbuilder 11.2 build 8616  and visual studio
> > 2008 (express edition)
>
> > Thanks
>
> > Maarten