Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allow user to modify a Word document?
Message
De
17/01/2009 15:41:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01372571
Message ID:
01374698
Vues:
93
I compared the two versions and found there are more events exposed in 2007 but none of potential use to me.

You are missing a very important point about interfaces here. You must implement an interface entirely - you cannot pick and chhose which methods you are going to define. You do not have to write code in all of the methods. If the applicationEvents2 interface defined by Word 2007 is different from the one defined for Word 2003, you have to use the one defined for Word 2007 if that is what you are using.

I want to disable menu options, particularly those under the "Office button" if I can figure out how to reference them. The NewDocument() method doesn't take a cancel parameter and that will be a problem if the command can't be disabled.

Wish I could hept you out, but I have never tried doing that.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform