Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent Save in Word?
Message
From
26/02/2007 17:32:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01198988
Message ID:
01199002
Views:
25
>The biggest problem is how to get control back to the application to complete processing.
>
>However, I haven't been able to figure out how to attach a name to a document under automation either. The error message indicates that .Name is read-only. It seems like the name can only be changed using the dialog that appears when you try to save or to close the application. I'd really like to suppress that dialog entirely. In fact I saw a thread earlier that showed how to do that but I can't find it now...

I was thinking of using the "SaveAs" command, but I don't think this will actually fit your needs.

Also: When creating a document from a template, don't just open the template document. Use the Word template feature, which will create a new document based on the template, and force the user to choose a name when saving.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform