Home All Groups Group Topic Archive Search About

Dragging a mail from Outlook/Outlook Express in to a .NET VB app

Author
13 Mar 2005 4:31 PM
Jim Florence
Hello,

I've just started to look seriousl at VB and .Net.

I have written a calendar app and am trying to find the best way to drag and
drop messages from Outlook/Outlook Express ditrectly in to the calendar.Not
looking for specifics really just the best way of dragging the message and
any attachments in to a VB form really.

I've seen a couple of posts on this but nothing definitive.Any pointers
gratefully recieved

Regards

Jim Florence

Author
13 Mar 2005 6:03 PM
Cor Ligthert
Author
13 Mar 2005 6:50 PM
Jim Florence
Cor,

Many thanks for the quick reply. I've looked at one of these but the Outlook
side of things seems to work differently. I'll have a proper read through
all these articles.

Your help is much appreciated

Regards

Jim


Show quoteHide quote
"Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message
news:uDaU3b$JFHA.1176@TK2MSFTNGP12.phx.gbl...
> Jim,
>
> On those pages (and click in the links on the first page there are a lot
> of samples) is this very good described.
>
> clipboard
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconDragDropClipboardSupport.asp
>
>
> sample drag and drop
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchimpdragdrop.asp
>
>
> Clipboardclass
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsclipboardclasstopic.asp
>
> I hope this helps a little bit?
>
> Cor
>
>
Author
14 Mar 2005 2:15 AM
Crouchie1998
Cor,

How would using the clipboard help resolve this issue? Are you thinking in
terms of using it for the attachments.

Jim,

In your original post you wrote about Outlook Express. As far as I am aware
you aren't able to do it because nothing is exposed, but in Outlook you have
the object model.
Author
14 Mar 2005 7:06 AM
Cor Ligthert
Crouchie,

I have sent the links because this part of the message.

>Not looking for specifics really just the best way of dragging the message
>and
>any attachments in to a VB form really.

>I've seen a couple of posts on this but nothing definitive.Any pointers
>gratefully recieved

In those links are methods that describe the different objects that can be
placed on and from the clipboard and how to drag.

That was the reason for the message, at least it tells that there are
different structures (structures meant not in the sence of VBNet) that can
be moved.

Cor
Author
14 Mar 2005 8:41 PM
Jim Florence
Guys,

Thanks for the interest.

Nope this doesn't seem to quite cover it but many thanks for the rreply.
I've seen a few post on this but nothing seems to quite get there

Any pointers gratefully revieved.

Regards

Jim

I've seen a few posts
Show quoteHide quote
"Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message
news:e6h6URGKFHA.1096@tk2msftngp13.phx.gbl...
> Crouchie,
>
> I have sent the links because this part of the message.
>
>>Not looking for specifics really just the best way of dragging the message
>>and
>>any attachments in to a VB form really.
>
>>I've seen a couple of posts on this but nothing definitive.Any pointers
>>gratefully recieved
>
> In those links are methods that describe the different objects that can be
> placed on and from the clipboard and how to drag.
>
> That was the reason for the message, at least it tells that there are
> different structures (structures meant not in the sence of VBNet) that can
> be moved.
>
> Cor
>
Author
16 Mar 2005 10:49 AM
Mike [MCP VB]
I'd be interested to know if you find a solution to this problem, too.

Cheers,

Mike
Author
16 Mar 2005 10:57 PM
Jim Florence
Mike,

Anything I find I'll post back here, you start off with something that
sounds simple and......................... :0)

Regards

Jim


Show quoteHide quote
"Mike [MCP VB]" <www.evolvedsoftwarestudios.com> wrote in message
news:O5HTiVhKFHA.4064@tk2msftngp13.phx.gbl...
> I'd be interested to know if you find a solution to this problem, too.
>
> Cheers,
>
> Mike
>
Author
18 Mar 2005 11:31 AM
Mike [MCP VB]
"Jim Florence" <florence_ja***@hotmail.com> wrote in message
news:4238b9d1$0$12808$cc9e4d1f@news.dial.pipex.com...
> Mike,
>
> Anything I find I'll post back here, you start off with something that
> sounds simple and......................... :0)

Sounds simple from Outlook, but as Crouchie1998 says, OE doesn't have an
object model...

Still be interested to hear though. Perhaps a solution involving the display
of a temp directory window within your application, would allow OE to drag
and drop its load into the window (since it thinks it is simply doing a save
as file to this directory), and from there - streaming the data of the file
from the disk....

Mike
Author
11 Apr 2005 9:17 AM
Jim Florence
Guys,

Sorry for not getting back but I've been mid changing jobs.

I've come accross the following

http://tinyurl.com/6ttvx (hope this works if not I'll paste up the full
google groups URL)

If I stuck to just full Outlook has anyone any example code of dragging a
message, text and attachments, to a form

Many thanks for all the help so far

Jim


Show quoteHide quote
"Mike [MCP VB]" <www.evolvedsoftwarestudios.com> wrote in message
news:OpIyB26KFHA.2796@TK2MSFTNGP14.phx.gbl...
> "Jim Florence" <florence_ja***@hotmail.com> wrote in message
> news:4238b9d1$0$12808$cc9e4d1f@news.dial.pipex.com...
>> Mike,
>>
>> Anything I find I'll post back here, you start off with something that
>> sounds simple and......................... :0)
>
> Sounds simple from Outlook, but as Crouchie1998 says, OE doesn't have an
> object model...
>
> Still be interested to hear though. Perhaps a solution involving the
> display of a temp directory window within your application, would allow OE
> to drag and drop its load into the window (since it thinks it is simply
> doing a save as file to this directory), and from there - streaming the
> data of the file from the disk....
>
> Mike
>