Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent Save in Word?
Message
De
26/02/2007 17:32:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01198988
Message ID:
01199002
Vues:
26
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform