Is it possible to start a Windows Media Services publishing point
using VBScript? I found the following Visual Basic .NET code example
which will start a publishing point, but I've been unsuccessful in
converting it to vbscript.
------
Imports Microsoft.WindowsMediaServices.Interop
Imports System.Runtime.InteropServices
' Declare variables.
Dim Server As WMSServer
Dim BCPubPoint As IWMSBroadcastPublishingPoint
Try
' Create the WMSServer object.
Server = New WMSServer()
' Retrieve a broadcast publishing point.
BCPubPoint = Server.PublishingPoints.item ("Test")
' Enable the archiving plug-in.
BCPubPoint.BroadcastDataSinks.Item("WMS Archive Data
Writer").Enabled = True
' Initialize the publishing point and start broadcasting.
BCPubPoint.Start()
' Start archiving the broadcast data locally for rebroadcast.
BCPubPoint.StartArchive()
Catch errCom As COMException
' TODO: Handle COM exceptions.
Catch err As Exception
' TODO: Exception handler goes here.
Finally
' TODO: Clean-up code goes here.
End Try
---------
TIA,
Joseph