五.复制函数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 typeforward 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 prototypesglobal 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_directoryc2ls_directorya1 = as_path
ls_directorya2 = gs_application_pathstring ls_filename,ls_file
string ls_filename1,ls_filename2long ll_filecounta1,ll_filecounta2
long ll_filecountb1,ll_filecountb2 long ll_filecountc1,ll_filecountc2long ll_cnt1
long ll_cnt2 long ll_cnt3 long ll_m long ll_ret = 1s_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 ... 下一页