早教吧作业答案频道 -->其他-->
显示MicrosoftVBScript����ʱ����ʏ'CallcreateAlumeXml(ASCore.BlogName&"的相册","","",true)'SubScanFtpPhoto(Folder,AlbumID)IfTrim(Folder)=EmptyThenExitSubIFASCore.IsFolder
题目详情
显示Microsoft VBScript ����ʱ���� ʏ
'Call createAlumeXml(ASCore.BlogName&"的相册","","",true)
'
Sub ScanFtpPhoto(Folder,AlbumID)
If Trim(Folder) = Empty Then Exit Sub
IF ASCore.IsFolderExists(server.mappath(Folder)) Then
Dim arr_f,f_num,f_name,f_path,i,sql
arr_f = ASCore.EachFiles(server.mappath(Folder))
arr_f = split(arr_f,"|")
f_num = ubound(arr_f)
Dim Photo_Title,Photo_AlbumID,Photo_Author,Photo_Url,Photo_IsOpen,Photo_Note,Photo_Thumb
Dim ThumbPath,f_type
'建立保存thumb的文件夹
Call ASCore.CreateFolder(Server.MapPath(Folder),"Thumbs")
for i = 0 to f_num-1
Response.write ("正在处理第"&i+1&"张
"&vbcrlf)
f_name = arr_f(i)
Photo_Title = split(f_name,".")(0)
Photo_AlbumID = AlbumID
Photo_Author = ASCore.ManagerName
Photo_Url = Folder & f_name
Photo_Note = split(f_name,".")(0)
Photo_Thumb = Folder & f_name
显示错误行代码:
arr_f = ASCore.EachFiles(server.mappath(Folder))
'Call createAlumeXml(ASCore.BlogName&"的相册","","",true)
'
Sub ScanFtpPhoto(Folder,AlbumID)
If Trim(Folder) = Empty Then Exit Sub
IF ASCore.IsFolderExists(server.mappath(Folder)) Then
Dim arr_f,f_num,f_name,f_path,i,sql
arr_f = ASCore.EachFiles(server.mappath(Folder))
arr_f = split(arr_f,"|")
f_num = ubound(arr_f)
Dim Photo_Title,Photo_AlbumID,Photo_Author,Photo_Url,Photo_IsOpen,Photo_Note,Photo_Thumb
Dim ThumbPath,f_type
'建立保存thumb的文件夹
Call ASCore.CreateFolder(Server.MapPath(Folder),"Thumbs")
for i = 0 to f_num-1
Response.write ("正在处理第"&i+1&"张
"&vbcrlf)
f_name = arr_f(i)
Photo_Title = split(f_name,".")(0)
Photo_AlbumID = AlbumID
Photo_Author = ASCore.ManagerName
Photo_Url = Folder & f_name
Photo_Note = split(f_name,".")(0)
Photo_Thumb = Folder & f_name
显示错误行代码:
arr_f = ASCore.EachFiles(server.mappath(Folder))
▼优质解答
答案和解析
请帖错误提示,你这个乱码.帖的.
估计~
ASCore是什么是组件,组件没装.
Folder路径错误~!
估计~
ASCore是什么是组件,组件没装.
Folder路径错误~!
看了 显示MicrosoftVBS...的网友还看了以下:
已知正方形ABCD的边长为6,P是BC边上异于点B的动点,设BP=x,S△APB=S如图,已知正方 2020-05-14 …
甲、乙两地相距s千米,某人计划a小时到达,现在要提前2小时到达,每小时要多走A.(a-2分之s-a 2020-05-20 …
求函数的拉氏反变换:X(s)=(s+2)/[s·(s+1)^2·(s+3)]我的解法如下:X(s) 2020-05-22 …
如果传递函数分子分母有同一个因子,例如(s+2)/(s+2)(s+3),他的极点应该...如果传递 2020-06-10 …
显示MicrosoftVBScript����ʱ����ʏ'CallcreateAlumeXml( 2020-06-14 …
在等差数列{an}中,⑴若项数为偶数2n,则S2n=n(a1+a2n)=n(an+an+1)(an 2020-07-21 …
设α1,α2,…,αs为线性方程组Ax=0的一个基础解系,β1=t1α1+t2α2,β2=t1α2 2020-08-02 …
向量组α1,α2,…,αs(s≥2)线性无关,且可由向量组β1,β2,…,βs线性表示,则以下结论中 2020-11-03 …
S是上下振动的波源,频率为10Hz,所激起的波沿X轴向左向右传播,波速为20m/s,质点M、N到S的 2020-12-09 …
如图,S是上下振动的波源,频率为10Hz,所激起的波沿x轴向左向右传播,波速为20m/s,质点M、N 2020-12-18 …