Agilent Technologies VEE Pro Uživatelská příručka Strana 303

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 602
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 302
Creating Reports Easily Using ActiveX Chapter 6
VEE User’s Guide 275
9 Add three more Formula objects and one If/Then/Else object,
configure, and connect them as shown in
Figure 162.
Figure 162 The Complete Program for Report in MS Word
The entries in the additional objects are as follows:
Table 3 0 Additional Objects in Figure 17
Object Description
App.ActivePrinter Requests the default printer in a string including its port.
strLen(str) != 0 Makes sure that ActivePrinter has located a configured
printer (if the string on the input is not null, then...), then
outputs a 1
(=TRUE) on the Then pin, which pings the
Formula object containing the PrintOut call.
DocPrintOut(0) Prints the document.
App.Quit(0) Closes the MS Word Application
Zobrazit stránku 302
1 2 ... 298 299 300 301 302 303 304 305 306 307 308 ... 601 602

Komentáře k této Příručce

Žádné komentáře