Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    287

    Cool File Copy Example ?

    I need file copy example but copying on progress bar ı want show progress bar when copy started


    Sry for my bad english

  2. #2
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Code:
    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)

  3. #3
    Join Date
    Jul 2007
    Posts
    287
    Quote Originally Posted by ShadowUK View Post
    Code:
    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 ty...

  4. #4
    Join Date
    Jan 2009
    Posts
    1

    Thanks

    Just what was needed and working properly

  5. #5
    Join Date
    Oct 2002
    Location
    Netherlands
    Posts
    199
    or just:


    StatusDlg.Show();
    and here the File.Copy action
    StatusDlg.Hide();

    it's a build in function for file copy

Similar Threads

  1. Best way to share custom buttons with the group?
    By mwreyf1 in forum AutoPlay Media Studio 6.0
    Replies: 10
    Last Post: 04-28-2010, 01:29 PM
  2. Error 3038: Could not seek in compressed file
    By Rikard in forum Setup Factory 7.0
    Replies: 2
    Last Post: 05-25-2006, 11:55 AM
  3. Can search allow manual browse even if file is found?
    By RichardShaw in forum Setup Factory 5.0
    Replies: 2
    Last Post: 08-28-2000, 06:08 PM
  4. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts