Information générale
Catégorie:
Codage, syntaxe et commandes
I am currently using ole automation to create a word document. I can open word and issue my commands etc, but I am being forced to use the equalent numeric value of the constants that some commands require, eg. objword.selection.homekey(6) instead of objword.selection.homekey(wdStory). How/where/what is the header file that has all the constants defined. I realise I could create my own but if the constant values are onday changed by MSoft how am I to know (besides my app ceasing to work properly)?
Chris
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement