What I ended up doing is a combination of using VFP and the word object model plus creating and running word macros. This solution seems to work well and allows me to leverage off some work that was done in the foxpro 2.6 app that is being ported to VFP.
Stuart
You make a good point. What I have done is have an auto save option. This will only work if mail ( at least in v1.0 of this ) is routed to the sent items folder. Otherwise what I have done is include the option that the customer can click on an email in outlook then flip into our app and press...
I have word automation with VFP that is using a combination of VFP calls to the word object model and running word macros. I would like to improve the functionality of the word macros so will need to write a conversion utility that will replace the existing macros with the new and improved...
I have ruled out the use of bookmarks due to the limitation of the bookmark to exist only once in a document. This makes sense and was pointed out to me in the msdn forum.
I shouldn't take the credit for this. I found the idea to use this field on the site www.outlookcode.com. The site is in promotion of a book Microsoft Outlook programming by Sue Mosher. Found it to be a very useful website.
Stuart
Yes, I am not looking to provide the user with a list of bookmarks that will be available to them to insert into a document. I am just not sure how to build and display this type of list.
What I ended up doing was to write a unique id into the mileage field when the email is created. I then find the email that contains the unique id.
ie.
When creating the email
oMailItem.Mileage = 'TEST999'
When searching the sent items
oMailItem = oSentfolder.items.find("[Mileage]='TEST999'")
I am working on adding mail merge functionality to our VFP application. I have been playing with bookmarks and have been successful at navigating thru a document that has existing bookmarks and replacing the book mark with the appropriate information. What I have not been able to figure out is...
I have a modal form ( launched from a menu selection in a top level form ) that I would like to show a menu that will display the edit options, copy cut and paste. I created a menu called edit and in the init event of the form I do edit.mpr. The problem is that the menu does not show. Any...
Took a look at the Faq's before posting, unfortunatley did not find what I was looking for.
The problem is being able to figure out that the user has clicked the send button, then tracking down the email they just sent.
I need some guidance on how to save an email to file after a user click the send button in Outlook.
Steps are:
1) From VFP generate a new email.
2) User fills out email, then hits send.
3) I now want to save the email in .msg format.
The application is written in VFP 5.0. The problem I seem...
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.