Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word2007 open in readonly
Message
 
 
To
04/02/2008 10:14:15
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01289061
Message ID:
01289470
Views:
9
The Word would open a file in read only mode if it either has read only attribute; open by some other process; a user has only read permissions to the file.

>I am trying to automate word from vfp9.2
>on my laptop i have vista+office2007
>on the user end we have xp+office2003
>
>using word2007
>
oDoc=oWord.Document.Open(cFname.f.,.f.)
open the the file in read only mode but i need the user to ave the file (using the name!!!)
>The 3. argument should signify not to use read only!)
>
>can i force word2007 to stick to the .doc format an opne in read/write mode or do i have to dump office 2007 until this part of the project is done?
>(I hope not)
>
>Peter
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform