Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770

    Just a liitle a little bit of help with file copy

    I can copy to the source folder but for the life of me I can't get it to copy to the AutoPlay\\Images folder.
    Someone show me how it is done on that line please
    Thanks so much .
    Code:
    ImgF = Dialog.FileBrowse(true, "Locate File", _DesktopFolder, "All Files (*.*)|*.*|", "", "dat", false, false);
    if ImgF[1] ~= "CANCEL" then
    TheFile = ImgF[1]
    if ImgF[1] ~= "CANCEL" then
    	File.Copy(ImgF[1], _SourceFolder .. "\\background.jpg", true, true, false, true, nil);
        Image.Load("Image7", TheFile);
        Page.Redraw();
    end
    end

  2. #2
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Never mind I did get it to work using this if anyone else would need it.
    Code:
    ImgF = Dialog.FileBrowse(true, "Locate File", _DesktopFolder, "All Files (*.*)|*.*|", "", "dat", false, false);
    if ImgF[1] ~= "CANCEL" then
    TheFile = ImgF[1]
    if ImgF[1] ~= "CANCEL" then
    	--tblFileInfo = String.SplitPath(ImgF[1])
    	File.Copy(ImgF[1], _SourceFolder.."\\AutoPlay\\Images\\background.jpg",  true, true, false, true, nil);
        Image.Load("Image7", TheFile);
        Page.Redraw();
    end
    end

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