|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Dragging a mail from Outlook/Outlook Express in to a .NET VB appHello,
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 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 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 > > 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. 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 In those links are methods that describe the different objects that can be >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 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 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 > I'd be interested to know if you find a solution to this problem, too.
Cheers, Mike 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 > "Jim Florence" <florence_ja***@hotmail.com> wrote in message Sounds simple from Outlook, but as Crouchie1998 says, OE doesn't have an 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) 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 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 >
DataGrid Bind to DataSet, then Bind to DaTaview, GOT ERROR...PLS HELP
cint and int32.parse Hide unwanted properties. Connection pool problems Error after removing row and then adding new row to datatable Lines and Boxes in VB.Net Public Variables in Module1 Newbie VB Question Bound combo box problem Connectionstring |
|||||||||||||||||||||||