Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VBA to talk to VFP
Message
From
13/04/2004 08:03:27
 
 
To
12/04/2004 15:37:56
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00894203
Message ID:
00894367
Views:
8
>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
Map
View

Click here to load this message in the networking platform