AddChannel Method
Presents a dialog box that allows the user to either add the channel specified, or change the channel URL if it is already installed.
Syntax
window.external.AddChannel(sURLToCDF)
Parameters
sURLToCDF Required. String that specifies the URL of a Channel Definition Format (CDF) file to be installed.
Return Value
No return value.
Remarks
If the call fails, an error dialog box appears. You can suppress the dialog box by using the onerror event.
Note This method is intended for use by publishers shipping Microsoft® Active Channel™ content. Active Channel technology is available as of Microsoft® Internet Explorer 4.0 and later.
This method is not supported in html applications.
Example
This example uses the AddChannel method to present a dialog box that allows the user to add the channel described in the specified CDF file.
window.external.AddChannel("http://domain/folder/file.cdf");
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus.
See Also
active channel technology overview
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.