asp 网页视频播放器程序代码(通用代码),支持avi,wmv,asf,mov,rm,ra,ram等
思路是先取得文件的类型,并根据类型选择不同的网页播放器代码..三下五去二.....同时为了代码在以后的复用性,写成了通用的调用函数.方便以后在别的系统中调用.. 现发布源代码如下:实现代码如下:Sub SelPlay(strUrl,strWidth,StrHeight) Dim Exts,isExt
思路是先取得文件的类型,并根据类型选择不同的网页播放器代码..三下五去二.....同时为了代码在以后的复用性,写成了通用的调用函数.方便以后在别的系统中调用.. 现发布源代码如下:实现代码如下:Sub SelPlay(strUrl,strWidth,StrHeight) Dim Exts,isExt
核心代码:On Error Resume NextSet d = createObject("Scripting.Dictionary") d.add "a",-20319 d.add "ai",-20317 d.add "an",-20304 d.add "ang",-20295 d.add "a
示例批处理:test.bat 实现代码如下::On Error Resume NextSub batecho off & clsecho Batching_codez_here_following_vbs_rules & pausestart wscript -e:vbs "%~f0
---"Response.write Objfile.nameNextResponse.write ""Bianli(nowpath)'递归NextSet Objfolder=nothingSet Objsubfolders=nothingSet Fso=nothingEnd Function%&g
vbs读取文件方法Function readfile(readfilepath) 'On Error Resume NextSet fs = CreateObject("Scripting.FileSystemObject")Set file = fs.OpenTextFile(readfilepa
加密与解密函数 ">111111111
0 thens=s & instr(a(k),b(i)) & "," &instr(a(k),b(i))+len(b(i)) & ","end ifnexts=left(s,len(s)-1)if left(s,len(s)-1)<>len(a(k)) t
ASP函数库", ">"), " 255 Thent = t + 2Elset = t + 1End IfIf t >= strlen ThenstrTemp = Left(str, i)Exit ForEnd IfNextSubstZFC = Replace(Replace(Repla
0 thens=s & instr(a(k),b(i)) & "," &instr(a(k),b(i))+len(b(i)) & ","end ifnexts=left(s,len(s)-1)if left(s,len(s)-1)<>len(a(k)) t
'****************************** Sub SelPlay(strUrl,strWidth,StrHeight) Dim Exts,isExt If strUrl <> "" ThenisExt = LCase(Mid(strUrl,InStrRev(str