Information générale
Catégorie:
COM/DCOM et OLE Automation
>>>You found it. That's it. At least you got it to work. A couple of years ago I was dealing with a Word function that had several undocumented parameters (this I found out from MS support eventually).
>>
>>That's just great. Are you willing to share what you've learned in the files section. :) I'd hate to have to through what you went through to figure out how a method works.
>
>
>It was actually a couple of WordBasic functions... the purpose is to print an envelope with the passed address:
>
>oWord.toolsoptionsprint(,,,,,,,,,,,0,,,) && Turns off background printing in word.
>oWord.ToolsCreateEnvelope(,,,,,,, lcAddress,,,llPrintBarcode,,,, 1) && Sends address string and prints
>oWord.toolsoptionsprint(,,,,,,,,,,,1,,,) && Turns background printing back on
Does one of those function calls have 15 parameters? I guess they can get away with it since they've got named parameters.
Thanks for the info.
Précédent
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