Agilent Technologies VEE Pro Guia do Utilizador Página 282

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 602
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 281
254 VEE User’s Guide
6 Creating Reports Easily Using ActiveX Chapter
Using CreateObject and GetObject
Notice that one of the statements in Set Up Excel Worksheet in
Figure 148 contains the CreateObject() function call.
CreateObject() and GetObject() are functions in the VEE
Function & Object Browser, and they are designed
specifically to return a pointer to an ActiveX object in VEE.
For example, CreateObject("Excel.Sheet")starts up Excel and
returns a reference to a workbook in it. (The Microsoft
statement “sheet” returns a workbook.) Use GetObject() to
get something or some data that already exists in a running
Excel, or to load a file into a running Excel.
CreateObject and GetObject are located under Device
Function & Object Browser, Type: Built- in Functions, Category:
ActiveX Automation. Figure 149 shows an example
CreateObject and GetObject.
Figure 149 CreateObject and GetObject
Vista de página 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 601 602

Comentários a estes Manuais

Sem comentários