EnhEvents.Flatten

[This is preliminary documentation and subject to change.]

The Flatten method converts enhancement stream events from high-level syntax to low-level syntax. This method can cause the stream compiler to add new events and change event times slightly.

It is recommended that your application call Flatten before it transmits the enhancement stream.

Syntax

object.Flatten()
 

Parts

object
Object expression that resolves to an EnhEvents object.

Remarks

The Flatten method resolves high-level events into low-level ones. For example, if you had defined an FTS-download event for an HTML file that contained four GIFs, the Flatten method would turn this event into five FTS-download events, one for the main file and each image dependency.

The enhancement stream must be converted to low-level syntax before it can be transmitted by the ipsend object.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in stream.idl.
  Import Library: Included as a resource in stream.dll.
  Unicode: Yes.

See Also

Converting Events to Low-level Syntax, EnhEvents.Store, ipsend

Examples

The following example loads an enhancement stream from the file EnhStr.txt, converts the stream to low-level syntax, and then saves the low-level stream to the file EnhStrFlat.txt.

Dim evs As IEnhEvents
Set evs = New EnhEvents
evs.Load("C:\EnhTools\EnhStr.txt")
evs.Flatten
evs.Store("C:\EnhTools\EnhStrFlat.txt")