drag and drop?

  • Thread starter Thread starter kemal asad
  • Start date Start date
K

kemal asad

how can i create a vb application where i can drag and drop ( with a move
caracteristic) email from outlook, into my application( email viewer).
thanks, any help is welcome, samples a great way of learning.
Kemal
 
Hi,

I think you can create a container that implement the dragdrop event
handler.
Then you can judge the drag source in your form, if you have determined
that the drag source is outlook item, you can refer to the Outlook
automation.
Use outlook automation, you can get the current selected item, you can do
whatever you want on this item.

Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Reply-To: "kemal asad" <[email protected]>
| From: "kemal asad" <[email protected]>
| Subject: drag and drop?
| Date: Tue, 14 Oct 2003 15:53:38 -0400
| Lines: 6
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.vb
| NNTP-Posting-Host: dhcp-0-138-220-220-100.worldbank.org 138.220.220.100
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:146683
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| how can i create a vb application where i can drag and drop ( with a move
| caracteristic) email from outlook, into my application( email viewer).
| thanks, any help is welcome, samples a great way of learning.
| Kemal
|
|
|
 
yes this made sense. thanks. but i am still looking for a book or a sample
code so that it work a nicely as windows application(changing the cursor)
and i have to figure out how to figure out from the variables passed how to
test if it is an outlook object i am looking in the e.data member.i hope it
is the rigth direction.
thanks for you help.
Kemal
 
Hi Kemal,

There was a conversation about this in the vb.winapi newsgroup just a few
days ago.


http://www.google.co.uk/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&frame=r
ight&th=9ee830b35fec340b&seekm=3F85B7A3.2010702%40martijn.coppoolse.com#link1

You'll have to copy the link into Notepad, join up all the lines and then
paste it into your browser's address bar.

Alternatively subscribe to
news://msnews.microsoft.com/microsoft.public.vb.winapi
and look for the Topic: Drag & drop e-mail messages from Outlook Express,
dated 9th October.

Regards,
Fergus
 
Hi ,

I thinkFergus's link provided you a full solution of drag and drop outlook
email.
Does this resovle your problem?
As a workaround, you can handle this in .Net use a simple way. You can
check it in the link below:
http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_
20706147.html

But as I think, after you get the text information of the email item, you
can use the outlook automation to access this email item(instead of
retrieving its body using LoadFile method).

If you still have any unclear please feel free to let me know.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Reply-To: "kemal asad" <[email protected]>
| From: "kemal asad" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: Re: drag and drop?
| Date: Wed, 15 Oct 2003 10:14:24 -0400
| Lines: 57
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.vb
| NNTP-Posting-Host: dhcp-0-138-220-220-100.worldbank.org 138.220.220.100
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:146888
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| yes this made sense. thanks. but i am still looking for a book or a sample
| code so that it work a nicely as windows application(changing the cursor)
| and i have to figure out how to figure out from the variables passed how
to
| test if it is an outlook object i am looking in the e.data member.i hope
it
| is the rigth direction.
| thanks for you help.
| Kemal
|
|
| | >
| > Hi,
| >
| > I think you can create a container that implement the dragdrop event
| > handler.
| > Then you can judge the drag source in your form, if you have determined
| > that the drag source is outlook item, you can refer to the Outlook
| > automation.
| > Use outlook automation, you can get the current selected item, you can
do
| > whatever you want on this item.
| >
| > Hope this helps,
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | Reply-To: "kemal asad" <[email protected]>
| > | From: "kemal asad" <[email protected]>
| > | Subject: drag and drop?
| > | Date: Tue, 14 Oct 2003 15:53:38 -0400
| > | Lines: 6
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <[email protected]>
| > | Newsgroups: microsoft.public.dotnet.languages.vb
| > | NNTP-Posting-Host: dhcp-0-138-220-220-100.worldbank.org
138.220.220.100
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:146683
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.vb
| > |
| > | how can i create a vb application where i can drag and drop ( with a
| move
| > | caracteristic) email from outlook, into my application( email viewer).
| > | thanks, any help is welcome, samples a great way of learning.
| > | Kemal
| > |
| > |
| > |
| >
|
|
|
 
Back
Top