View Full Version : File Copy Example ?
mustafa06
03-15-2008, 04:30 AM
I need file copy example but copying on progress bar ı want show progress bar when copy started
Sry for my bad english
ShadowUK
03-15-2008, 05:42 AM
01 Progress.SetVisible( "Progress1", true)
02
03 function CopyCallback(a,b,c,d,e)
04 Progress.StepIt( "Progress1")
05 return true
06 end
07
08 File.Copy(sSource, sDestination, bRecurse, bOverwrite, bAbortonfail, bHidden, CopyCallback)
mustafa06
03-15-2008, 05:52 AM
01 Progress.SetVisible( "Progress1", true)
02
03 function CopyCallback(a,b,c,d,e)
04 Progress.StepIt( "Progress1")
05 return true
06 end
07
08 File.Copy(sSource, sDestination, bRecurse, bOverwrite, bAbortonfail, bHidden, CopyCallback)
Progress.SetVisible( "Progress1", true)
function CopyCallback()
Progress.StepIt("Progress1")
return true
end
File.Copy(sSource, sDestination, true, true, false, false, CopyCallback)
It's work ;) :yes ty...
netytus
01-06-2009, 04:45 PM
Just what was needed and working properly
or just:
StatusDlg.Show();
and here the File.Copy action
StatusDlg.Hide();
it's a build in function for file copy
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.