GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
WD23 - drag/drop attachement from Outlook
WD23 - drag/drop attachement from Outlook
Iniciado por Arie, ago., 15 2018 9:49 PM - 8 respostas
Conecte-se…
Arie
#1
Publicado em agosto, 15 2018 - 9:49 PM
Hi,
I;m using drag and drop in my application to let the user drag a file from the explorer into a window. And then import the file and attach it to a customer. Works great, I'm able to drag a copy of an ID-card for instance of an employee and save it in the database.
But when dragging an attachement directly from an Outlook message it does not work. I did some searching and it turns out that in this case the 'dragged object' is not a file, but some internal Microsoft object, not recognized by the WD framework.
Anyone has some info about this or a solution to catch these kind of objects?
Denunciar
0
0
Neirynck Tonny
#2
Publicado em agosto, 16 2018 - 4:26 PM
Hi Arie,
perhaps my contribution can help the need for help for this issue, because I experience the same problem.
So indeed, I am also interested for the feedback.
Tonny
Denunciar
0
0
DarrenF
#3
Publicado em agosto, 16 2018 - 5:39 PM
Hi,
Hmmm, not toally sure becasue I've never tried to do it, but on the face of it, it looks as though it's not possible with the functions as they stand.
Ok, so it's not WX but maybe this C# example can give some clues?
https://www.codeproject.com/Articles/7140/Drag-and-Drop-Attached-File-From-Outlook-and-ab
I've not tried it myself, but another method may be to look at 'simulating' dnd by using EmailSaveAttachment? If the dnd function still has the filename when the 'drop' occurs, then it should doable?
Denunciar
0
0
Arie
#4
Publicado em agosto, 16 2018 - 5:47 PM
This little Outlook plugin solved my problem for now.
https://tonyfederer.github.io/OutlookFileDrag/
But this means each and every client has to install this and that's not the best solution. Some IT-guys will not allow me to do so.
I'd rather get this straight at the WD side.
Denunciar
0
0
iso
#5
Publicado em agosto, 16 2018 - 8:07 PM
I use an activex component to directly drop outlook messages into.
Denunciar
0
0
Arie
#6
Publicado em agosto, 16 2018 - 8:50 PM
Iso,
would be nice to tell us which component that would be...
Denunciar
0
0
eduard
#7
Publicado em agosto, 21 2018 - 12:09 AM
Iso
yes, can you tell us what is this activex component please?
thanks
Denunciar
0
0
iso
#8
Publicado em agosto, 21 2018 - 4:50 PM
Sorry Arie, i couldnt remember the name when i posted then forgot about it
I use 'Microsoft Web Browser' ActiveX
and use the this code to set the location:
AX_Email>>Navigate2("C:\Temp\")
Denunciar
0
0
Lug
#9
Publicado em novembro, 17 2023 - 12:52 PM
Bonjour avez-vous un exemple d'utilisation du dl 'OutlookFileDrag' en vous remerciant
Hello do you have an example of using the dl 'OutlookFileDrag' thank you
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto