Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VBA to talk to VFP
Message
De
13/04/2004 08:03:27
 
 
À
12/04/2004 15:37:56
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00894203
Message ID:
00894367
Vues:
7
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform