Hello
I would like to enable an html editor for capturing formatted texts in a vfp form.
Does anyone have experience or sample code e.g. for zoople?
Thomas
So, my new solution works :)
Shortened code for selected attachments
loOutlook = CREATEOBJECT( "Outlook.Application" )
loSelected = loOutlook.ActiveInspector.AttachmentSelection
FOR i = 1 TO loSelected.Count
MESSAGEBOX( loSelected.Item(i).FileName )
* or...
Tamar,
with this example all attachments are read out and saved/displayed. (TextBox.OLEDragDrop)
I don't know where I would have to use AttachmentSelection.
Thomas
* Create Outlook Application object
oOutlook = CREATEOBJECT("Outlook.Application")
oNamespace = oOutlook.GetNamespace("MAPI")
*...
Tamar,
I rejoiced a little too soon.
With your code I get information on all the attachments contained in the mail, but not the currently selected.
I have experimented a bit with AttachmentSelection but I can't get any further. Do you have another idea for me?
Thomas
Tamar,
in found a little bug in your code:
oObjColl = ThisForm.oOutlook.oExplorer.Selection must be
oObjColl = ThisForm..oExplorer.Selection
after that modification I got the attachement object and it´s SaveAsFile method.
Many thanks you for help und greetings from Germany.
Thomas
Hi Foxis,
I am familiar with drag & drop of files from explorer, but i need help with drag & drop of outlook attachments (pdf)
Does anyone have an example code for this?
Thomas
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.