Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Allow user to modify a Word document?
Message
From
17/01/2009 15:41:37
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01372571
Message ID:
01374698
Views:
71
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform