Previous | Next |
Makes a connection to a server running Windows Media Services.
Syntax
NSChannelMgr.Connect( [Machine] )
Parameters
Machine
A String value specifying the computer name for the connection.
Return Values
Returns an ActiveX HRESULT error code.
Example
On Error Resume Next
NSChannelMgr1.Connect "LocalHost"
If Err.Number = 0 then
MsgBox ("Connected to LocalHost.")
Else
MsgBox ("Connection failed: " & Err.Description & “.”)
End If
Previous | Next |