各位高手。怎么在VB里将两个文档文件打包成一个ZIP,或RAR压缩文件。狂给分。希望有代码予以说明,感激

解决方案 »

  1.   

    我以前做过,用一个zip的控件可以满足要求,上网找一找。
    代码在家里的电脑上,没带
      

  2.   

    如果你的机器上安装了rar 或zip的话,就回有响应的dll 调用它就行了》看rar帮助文档。。
      

  3.   

    也可以通过winrar 的命令行去做,看winrar 帮助
      

  4.   

    http://www.vbaccelerator.com/home/VB/Code/Libraries/Compression/Compressing_and_Expanding_With_zLib/article.asphttp://www.vbaccelerator.com/home/VB/Code/Libraries/Compression/Compressing_and_Expanding_With_zLib/VB6_CompressZ-It_Code.asphttp://www.vbaccelerator.com/home/VB/Code/Libraries/Compression/Compressing_and_Expanding_With_zLib/zLib_DLL.asp
      

  5.   

    或者用ARJ,不用带另外的库文件,就一个执行文件,特别小!!
    打包也容易的多!
      

  6.   

    天狼大哥,
    能具体说说吗!!
    ARj的用法!!