Aspen Touch Solutions ATM-123R Series Specifikace Strana 93

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 92
Extensibility 3-9
3-9
3.5 Creating an Extension
3.5.1 In Visual Basic
Creating an extension in Visual Basic is a very straightforward
procedure. The following six steps can be used as a general
framework:
1. Create the Extension Definition.
2. Create the Object property views.
3. Implement the Required Methods.
4. Register the Extension.
5. Debug the Extension.
6. Distribute the Extension.
These steps are explained in more detail in the following
sections.
Create the Extension Definition
The EDF contains important information about an extension that
is required by the extension's container in HYSYS. Specifically, it
contains information about the variables that the extension own
(that are managed by the container), and it can also contain one
or more property views for the object.
For each extension, you must provide either a CLSID or a
ProgID. Other information that can be provided at this point
includes: the extension description, from which you identify the
extension within HYSYS, the extension type and the number of
property views. For extensions written in Visual Basic, you must
specify a ProgID. The selection of the ProgID is explained in the
following sub-section entitled: Register the Extension.
The extension definition file, which contains the definition of
the extension is created using the View Editor.
Zobrazit stránku 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 373 374

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

Žádné komentáře