472,958 Members | 2,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

drag and drop?

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
4 2020

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
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
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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: hemant_mishal | last post by:
Hi All, I am writting a java script library which will provide inter frame drag and drop operation. The more precise will be OLE drag and drop, which means only data will be transfered from frame...
0
by: Lauren Quantrell | last post by:
I'm trying to drop a file from Windows Explorer (or desktop, etc.) onto a field in Access2K and capture the full file path. I found an posting below that says this is possible but I cannot...
2
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
3
by: Ajay Krishnan Thampi | last post by:
I have a slight problem implementing 'drag and drop' from a datagrid to a tree-view. I have pasted my code below. Someone please advice me on what to do...pretty blur right now. ==code== ...
6
by: jojobar | last post by:
Hello, I look at the asp.net 2.0 web parts tutorial on the asp.net web site. I tried to run it under firefox browser but it did not run. If I want to use this feature in a commercial product...
3
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
0
by: ViRi | last post by:
I am currently experimenting a bit with AxMicrosoft.MediaPlayer.Intero­p.AxWindowsMediaPlayer and so far, most has gone well. Currently, i would like to add drag-and-drop functionality to the...
1
by: Darren | last post by:
I'm trying to create a file using drag and drop. I want to be able to select a listview item drag it to the shell and create a file. Each icon in the listview represents a blob in a database. When...
0
by: RHSFSS | last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out thereadvise on the best solution? I have a .NET 2.0 ...
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.