Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Close Document Without Save Changes?
Message
From
23/02/2007 15:12:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How To Close Document Without Save Changes?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01198441
Message ID:
01198441
Views:
45
I got an error on "SaveChanges=false" argument.
What is the correct syntax?

obj = CREATEOBJECT("Word.Application")
obj.Visible = .t.
obj.Documents.Add("")
obj.ActiveDocument.Close("SaveChanges=false")
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Next
Reply
Map
View

Click here to load this message in the networking platform