By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,683 Members | 1,401 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,683 IT Pros & Developers. It's quick & easy.

drag and drop?

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a

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" <as**@club-internet.fr>
| From: "kemal asad" <as**@club-internet.fr>
| 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: <ea**************@TK2MSFTNGP12.phx.gbl>
| 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!TK2MSFTN GP12.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
|
|
|

Nov 20 '05 #2

P: n/a
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
""Jeffrey Tan[MSFT]"" <v-*****@online.microsoft.com> wrote in message
news:1t**************@cpmsftngxa06.phx.gbl...

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" <as**@club-internet.fr>
| From: "kemal asad" <as**@club-internet.fr>
| 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: <ea**************@TK2MSFTNGP12.phx.gbl>
| 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!TK2MSFTN GP12.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
|
|
|

Nov 20 '05 #3

P: n/a
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...ndow=1&frame=r
ight&th=9ee830b35fec340b&seekm=3F85B7A3.2010702%40 martijn.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
Nov 20 '05 #4

P: n/a

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/Prog...ges/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" <as**@club-internet.fr>
| From: "kemal asad" <as**@club-internet.fr>
| References: <ea**************@TK2MSFTNGP12.phx.gbl>
<1t**************@cpmsftngxa06.phx.gbl>
| 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: <#E**************@TK2MSFTNGP10.phx.gbl>
| 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!TK2MSFTN GP10.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
|
|
| ""Jeffrey Tan[MSFT]"" <v-*****@online.microsoft.com> wrote in message
| news:1t**************@cpmsftngxa06.phx.gbl...
| >
| > 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" <as**@club-internet.fr>
| > | From: "kemal asad" <as**@club-internet.fr>
| > | 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: <ea**************@TK2MSFTNGP12.phx.gbl>
| > | 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!TK2MSFTN GP12.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
| > |
| > |
| > |
| >
|
|
|

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.