Drag and Drop mails from Outlook to Clarion6 Application

Status
Not open for further replies.
P

Peter

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

Dmitry Streblechenko

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)

-

"Peter" <Peter> wrote in message

news:1090B6B7-A300-4713-BCBA-540CB8570591@microsoft.com...
> 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?
>
 
P

Peter

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

>

>
 
D

Dmitry Streblechenko

See below

Dmitry Streblechenko (MVP)

-

"Peter" <Peter> wrote in message

news:462EA80E-1D5D-4760-ACF8-A2D6B0DAF54F@microsoft.com...
> 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)
> >

> >

> >
 
P

Peter van de Kragt

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
 
D

Dmitry Streblechenko

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)

-

"Peter van de Kragt" <peter@Bentis.local> wrote in message

news:61912F40-34D4-45AA-B14F-6334DD2ED7F3@microsoft.com...
> 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
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
H Drag and Drop Outlook mails into a Windows Form Control with eml extension Outlook VBA and Custom Forms 1
R PST->Outlook.com (Import vs Drag-n-Drop methods Using Outlook.com accounts in Outlook 2
J Can Click to Drag Custom Form Field But Cannot Drop When Designing in Outlook 2007 Outlook VBA and Custom Forms 2
K Cannot consistently drag and drop .msg files into Outlook 2010 Using Outlook 0
F Tumblr - Drag & Drop files (pictures) into Outlook? Using Outlook 12
C Cannot drag and drop or create folder in PST file folders Using Outlook 1
Forum Admin Wishlist Drag and drop email to a calendar date Outlook Wishlist 1
L Copying Emails using drag and drop Using Outlook 2
V Drag and drop into Outlook folders Using Outlook 2
T drag drop/opening drop down/single click acts like double/highlighting Using Outlook 7
R Outlook 2007 - drag drop email to Explorer Using Outlook 1
J Problem using drag and drop to attach an html email in Outlook 2010 Using Outlook 18
A turn Outlook into a Drag-and-drop application Outlook Wishlist 2
M Drag and drop Outlook VBA and Custom Forms 1
N Drag and drop attachment in outlook addin Outlook VBA and Custom Forms 4
S Drag-and-drop to Custom Task Pane Outlook VBA and Custom Forms 2
A Implementing Drag and drop events in outlook Outlook VBA and Custom Forms 7
L Macro to add Date & Time etc to "drag to save" e-mails Outlook VBA and Custom Forms 8
S Renaming while drag and dropping to file Using Outlook 1
B Right click-drag no longer creates hyperlinks Using Outlook 2
T Can not drag e-mails from search to folders Using Outlook 1
S cannot drag emails to personal folders BCM (Business Contact Manager) 1
D Outlook 2013 Macros only run in VB editor, not in drop down or button Outlook VBA and Custom Forms 10
B See "Change View" Drop Down as a List? Using Outlook 1
Y Outlook Task View - Table Format - Customize Reminder Time to Drop-Down Selection Using Outlook 2
D BCM 2013 not functioning as BCM 2010 Example no drop down for communications history Using Outlook 0
M Same file "stuck" on top of file list in "Attach File" drop down Using Outlook 4
A Automatically send email based on drop-down field? Outlook VBA and Custom Forms 2
Diane Poremsky No drop down calendars in Outlook 2010 Print Options Using Outlook 0
P BCM 2013 Contacts Form Drop Down Box Bug BCM (Business Contact Manager) 1
P Field in Forms displayed depending on the Item chosen from drop-down-list BCM (Business Contact Manager) 1
M Add custom locations to Outlook Forms "Look In:" drop-down list Using Outlook 5
M How do I link a drop down box to a percent complete box Using Outlook 4
R Display multiple accounts as drop down in the from field in New Mail Using Outlook 1
S Outlook addin formregion as a drop down Outlook VBA and Custom Forms 6
S RE: Template with drop down Outlook VBA and Custom Forms 3
C Drop Down Box in Email Template Outlook VBA and Custom Forms 2
F Excel VBA to move mails for outlook 365 on secondary mail account Outlook VBA and Custom Forms 1
T E-mails marked as read turn back to unread after a couple of seconds Using Outlook 1
M Outlook 2010 How could I globally redesign an outlook template form/region/inspector template used to display mail lists or an individual mails? Outlook VBA and Custom Forms 0
S Outlook Macro to send auto acknowledge mail only to new mails received to a specific shared inbox Outlook VBA and Custom Forms 0
Eike Move mails via macro triggered by the click of a button? Outlook VBA and Custom Forms 0
Terry Sullivan E-Mails Sent Using a Group Box Result in 70 Kickbacks Using Outlook 5
T Search for incoming e-mails for a specified time range Using Outlook 1
F Outlook 2016 Junk E-Mails Using Outlook 5
RBLampert Invisible e-mails in Gmail accounts Using Outlook 0
P when i move inbox mails to another folder in outlook the mail disappears Using Outlook 1
I How to receive mails on behalf of when sent to group mail? Using Outlook 2
A Script to fetch data from mails in restricted collection and sending them to excel Using Outlook 1
O Having rules run on old mails noved to inbox Outlook VBA and Custom Forms 8

Similar threads

Top