谁知道unrar.dll怎样在asp中使用

starlihgt36 2006-08-24 04:24:51
如题
...全文
172 3 打赏 收藏 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
mumu1980 2006-08-25
  • 打赏
  • 举报
回复
把unrar.dll放在c盘上
然后用RegSvr32 c:/unrar.dll注册这个控件
用下面这段语句调用相应的函数名就可以了
set dcss=server.CreateObject("dcss.Class1")
oconn=dcss.datasource()
dcss工程名
Class1工程里的类名
datasource()函数名
这就可以了
mrshelly 2006-08-25
  • 打赏
  • 举报
回复
Subs : - Lister(Fichier as String) : Lists all the files in the archive.
UnRar1.Lister "C:\1.rar"


- Decompress(Fichier As String, Rep As String, Optional Password As String) : Extracts all the files of the archive !
UnRar1.Decompress "C:\1.rar", "C:\1"


Others:




Events :- RarFileChange(FichierEnCours as RarFile) : Pops up each time another file is processed in the archive.

- Progression(pourcent as integer) : Pops up each time the operation's progression changes.

Parameters : - Fichier : File to process with complete path and extension !
- Rep : Folder to decompress the archive in. (Created if necessary)
- Password : need explanations ?
- FichierEnCours : File being processed within the archive.
- pourcent : Percentage of the operation's completion.

RarFile properties : - NomArchive : Name of the archive (file name with complete path)
- NomFichier : File being processed with complete path
- Flags : File flags
- TailleCompressee : File size compressed
- TailleDecompressee : File size uncompressed
- CRCFichier : File's CRC

ShowWarnings : The UnRar.dll Library sometimes generate an error extracting folders even if the folder is created, set to False to avoid the error message box.

28,402

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧