当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 五、复制函数F_CONNECT_COPYFILE需要控件:LIS
 

 

 ·imageviewer    »显示摘要«
    摘要:import java.awt.*;import java.awt.event.*;import java.awt.image.*;import java.io.*;import javax.swing.*; public class imageviewer{ public static void main(string[] args) { jframe frame=new imageviewe......
    摘要:七、下载代码string gs_copyserver1string gs_copyserver2string gs_copyserver3string ls_pathstring ls_mypathlong ll_count = 0 gs_copyserver1 = profilestring("autodown.ini","downpath","......


使用PB调用API自动更新(非FTP模式)(五、复制函数FCONNECTCOPYFILE)

五.复制函数f_connect_copyfile

需要控件:listbox(3个) 【程序编程相关:c#中在DataGrid里创建一个弹出式

【推荐阅读:Service Station With

需要ini文件:autodown.ini 【扩展信息:一些好用的Eclipse 3.0插件

global type f_connect_copyfile from function_object

end type

forward prototypes

global function integer f_connect_copyfile (string as_path, hprogressbar hpb_1, long al_copycount, listbox lb_filecopy1, listbox lb_filecopy2, listbox lb_filecopy3)

end prototypes

global function integer f_connect_copyfile (string as_path, hprogressbar hpb_1, long al_copycount, listbox lb_filecopy1, listbox lb_filecopy2, listbox lb_filecopy3);

string ls_user

string ls_pass

string ls_directorya1,ls_directorya2

string ls_directoryb1,ls_directoryb2

string ls_directoryc1,ls_directoryc2

ls_directorya1 = as_path

ls_directorya2 = gs_application_path

string ls_filename,ls_file

string ls_filename1,ls_filename2

long ll_filecounta1,ll_filecounta2

long ll_filecountb1,ll_filecountb2

long ll_filecountc1,ll_filecountc2

long ll_cnt1

long ll_cnt2

long ll_cnt3

long ll_m

long ll_ret = 1

s_win32_find_data ss_file1,ss_file2

long ll_filehandle1,ll_filehandle2

ls_file = ls_directorya1 + ´\*.*´

if not lb_filecopy1.dirlist(ls_file, 0+1+2+16) then

 return 0

end if

hpb_1.position = 0

ll_filecounta1 = lb_filecopy1.totalitems()

ll_m = 0


...   下一页
    摘要:我们经常在系统程序调试时需要记录运行时间,以观察程序运行的效率问题,或者对多种实现方法进行比较,一个好的计时器就不可或缺了.pear中的benchmarking_timer就是一个可以计算任意两点之间时间差的类. 下载你可以从 http://pear.php.net/package/benchmark/download 下载benchmarking框架,然后取出其中的time.php,把它放在和......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE