Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Drag and Drop mails from Outlook to Clarion6 Application (http://www.outlookbanter.com/outlook-vba/91955-drag-drop-mails-outlook-clarion6.html)

Peter June 25th 09 09:33 AM

Drag and Drop mails from Outlook to Clarion6 Application
 
I have been looking on the internet to solve my drag and drop problem.
We have a Clarion Winapp application build in Clarion6 (win32). It is partly
programmed in ABC and partly still in legacy.
We are able to drag and drop any file from the windows desktop or file
explorer, including msg files. Our users would like drag and drop mails
directly from outlook to our Clarion app. As you might know, this does not
work without extra coding.

Who can help?


Dmitry Streblechenko June 26th 09 05:36 AM

Drag and Drop mails from Outlook to Clarion6 Application
 
Whe nyou drag a message from Outlook, you get multiple drag/drop formats,
one of them will be the regular file, which is just an MSG file.
You can open an MSG file using RDOsession.GetMessageFromMsgFile in
Redemption
You can also cheat my assuming that for a message to be dragged from
Outlook, it needs to be selected first, which means you can use the
Application.ActiveExplorer.Selection collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Peter" wrote in message
...
I have been looking on the internet to solve my drag and drop problem.
We have a Clarion Winapp application build in Clarion6 (win32). It is
partly
programmed in ABC and partly still in legacy.
We are able to drag and drop any file from the windows desktop or file
explorer, including msg files. Our users would like drag and drop mails
directly from outlook to our Clarion app. As you might know, this does not
work without extra coding.

Who can help?




Peter June 29th 09 10:07 AM

Drag and Drop mails from Outlook to Clarion6 Application
 
Dmitry,
I am not sure what to do with your answer:
# Does it mean we need to use the Outlook Redemption functions?
# Can it be done without Redemption?
# It does not addres our specific Clarion question on drag and drop.

Hopefully you are able to provide more info.

"Dmitry Streblechenko" wrote:

Whe nyou drag a message from Outlook, you get multiple drag/drop formats,
one of them will be the regular file, which is just an MSG file.
You can open an MSG file using RDOsession.GetMessageFromMsgFile in
Redemption
You can also cheat my assuming that for a message to be dragged from
Outlook, it needs to be selected first, which means you can use the
Application.ActiveExplorer.Selection collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


Dmitry Streblechenko June 29th 09 03:51 PM

Drag and Drop mails from Outlook to Clarion6 Application
 
See below

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Peter" wrote in message
...
Dmitry,
I am not sure what to do with your answer:
# Does it mean we need to use the Outlook Redemption functions?


No.

# Can it be done without Redemption?


Yes. You would need to read the MSG file contents or use the
Application.ActiveExplorer.Selection trick

# It does not addres our specific Clarion question on drag and drop.


I know nothing about Clarion, sorry. But I can answer Outlook specific
questions.


Hopefully you are able to provide more info.

"Dmitry Streblechenko" wrote:

Whe nyou drag a message from Outlook, you get multiple drag/drop formats,
one of them will be the regular file, which is just an MSG file.
You can open an MSG file using RDOsession.GetMessageFromMsgFile in
Redemption
You can also cheat my assuming that for a message to be dragged from
Outlook, it needs to be selected first, which means you can use the
Application.ActiveExplorer.Selection collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool




Peter van de Kragt July 1st 09 08:22 AM

Drag and Drop mails from Outlook to Clarion6 Application
 
Dmitry,
let me rephrase the question a little bit.
Do you know of any DLL's that are able to export the selected mail in
Outlook in MSG format in a directory of choice?
That way we can turn the proces around:
Firstly select the mail in Outlook.
Secondly start a funtion in Clarion to export the mail to a certain
directory and after that link it into the clarion application.


Peter


Dmitry Streblechenko July 3rd 09 07:34 AM

Drag and Drop mails from Outlook to Clarion6 Application
 
If you can access the Outlook Object Model in Clarion, you shoudl be able to
loop through the items in the Application.ActiveExplorer.Selection
collection and call SaveAs for each item.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Peter van de Kragt" wrote in message
...
Dmitry,
let me rephrase the question a little bit.
Do you know of any DLL's that are able to export the selected mail in
Outlook in MSG format in a directory of choice?
That way we can turn the proces around:
Firstly select the mail in Outlook.
Secondly start a funtion in Clarion to export the mail to a certain
directory and after that link it into the clarion application.


Peter





All times are GMT +1. The time now is 06:28 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com