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

J

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
 
J

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
 
G

Guest

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

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
 
J

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
 
M

Mike [MCP VB]

I'd be interested to know if you find a solution to this problem, too.

Cheers,

Mike
 
J

Jim Florence

Mike,

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

Regards

Jim
 
M

Mike [MCP VB]

Jim Florence said:
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
 
J

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top