From: Ducati on 29 Jan 2010 17:59 I am trying to create a VBS that can validate if a stream is available online. I know how to test if a URL is valid with something like that: Set Shell = CreateObject( "WScript.Shell" ) dim strURL strURL = "http://www.msn.com/" Set objHTTP = CreateObject("MSXML2.XMLHTTP") objHTTP.open "HEAD", strURL, false objHTTP.send Wscript.Echo(objHTTP.Status) But the URL for the stream I need to validate is in the following form: mms://................/file.wmv If I try the above script on such a url, it returns a syntax error Any idea on what procedure I could use to validate if such a streaming url is valid (if the file exists)? Thanks
|
Pages: 1 Prev: Need to create a VB script for Microsoft Outlook Next: Dsget command |