Using the NetShow Unicast Manager Control


The NetShow Unicast Manager SDK Setup program installs and registers the NetShow Unicast Manager control and related files. The control can be added to any Visual Basic or Visual C++ application like any other ActiveX control.

The NetShow Unicast Manager control can also be added to any HTML page that supports embedded ActiveX controls. The easiest way to work with ActiveX controls in HTML pages is with the ActiveX Control Pad or Microsoft FrontPage™.

For more information on using ActiveX controls, see the Microsoft Web pages at http://www.microsoft.com/activex.

The Unicast Manager control also manages several objects, including objects that are collections of other objects. The following list shows the relationship between Unicast Manager objects:

Item is the default property for collection objects. This means that collection_object.Item(3) is the same as collection_object(3) and that both statements return the fourth object in the collection object. The first object in the collection is at index 0. Item is a read-only property that requires a subscript for the index into the collection.

Use the Set command in Visual Basic with collection objects. For example, to access a Client object that is part of a Clients collection, use the following syntax:

Dim MyClient
Set MyClient = MyObject.Clients.Item(0)
Client_ID = MyClient.ClientID

to get the ID of the first client.

Note that if you add an item to the collection, you must use Set again.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.