General information
Category:
Coding, syntax & commands
Larry, thanks for your reply.
What you suggest seems very interesting. What is VFPCOM and where do I get it.
Do I understand from what you are syaing is that somehow VFPCOM interfacres with Outlook, and then I can write code to export and inport files automatically in VFP.
Thanks for your help
Gerard
>>Hi.
>>I am currently designing an app for a company which has a Head Office and a Remote Site.They want to be able to tansmit and receive files automatically at regular intervals. e,g,
>>Head Office 'Sends' a no. of files and receives files every Hour
>>Branch office Receives these files every 2 hours and sends some files back
>>(The head Office and Branch office then act on these Files)
>>
>>Their preferred method is to use Email and a method of accessing Inboxes and Outboxes automatically from VFP. Is this practcal,or is there another utility I should be looking at.
>>(The main systems in place are Foxpro)
>>
>>Regards,
>>
>>Gerard
>
>Gerard,
>You could set it up without polling using the VFPCOM utility. Use the ExportEvents to export the events of the Outlook object. Using the exported file, create a class. Create an object using the new class and use the BindEvents method of the VFPCOM utility to bind the two together. The NewMail and ItemSend events of the Outlook object fire when you receive mail and send mail, respectively. When the Outlook events fire, the bound methods of the same name will fire with your code.
>
>Hope this gives you an idea.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only