Starting the Encoder

To start the Encoder, use the following code in Visual Basic:

Dim Encoder As Object
Set Encoder = CreateObject("Asf.NSASFRte")
Encoder.LoadASD("c:\SampleConfig.asd")
Encoder.Start

The object name of the Encoder is Asf.NSASFRte. Once the object is created for use by Visual Basic, an .asd (Advanced Stream Description) file is loaded that contains all the properties needed by the Encoder to begin encoding. Then the Start method is called, and the encoding begins.

© 1996-1998 Microsoft Corporation. All rights reserved.