General information
Category:
COM/DCOM and OLE Automation
>Has anyone done that:
>I am creating word doc in Visual FoxPro and let the user view/modify them. But I need to know (in Visual FoxPro) when the user actually modfied the doc)
>I am thinking of creating a semophore file like MyDocName.sem which if present Visual FoxPro can use to know the doc has been modified and then delete. I have never attempted VBA, however.
>
Your best bet is to use Word's events. If your VFP app will be running when they modify the document, go with the solution Cetin outlined. If there's a chance they'll close your app, but keep working in Word, you need to use a Word add-in to handle this. I wrote an article about what's involved. It was in FPA in 10/02. I also showed the code at DevTeach and DevCon last year.
Tamar
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