Jump to content

Dosya Kopyalama


Kral__
 Share

Recommended Posts

[code]
nFile = Dialog.FileBrowse(false, "Neon Aıo ~ Program Ekleme Aracı", _DesktopFolder, "Program (*.exe)|*.exe|", "", "dat", false, false);
File.Copy(nFile[1], "AutoPlay\\Docs\\Tema\\Programlar", true, true, false, true, CopyCallback);[/code]

buradaki sorun nedir hata almıyorum fakat kopyalamıyor :(

Link to comment
Share on other sites

nFile = Dialog.FileBrowse(true, "Neon Aıo ~ Program Ekleme Aracı", _DesktopFolder, "Program (*.exe)|*.exe|", "", "dat", false, false);
File.Copy(nFile[1], "AutoPlay\\Docs\\Tema\\Programlar", true, true, false, true, CopyCallback);



Bu yolun dogru olup olmadıgını kontrol et varmı bu yol

"AutoPlay\\Docs\\Tema\\Programlar"

Benim Kodlar çalışıyor.

Edited by El-Arabi
Link to comment
Share on other sites

yoo

[code]
tblMenu = {};
tblMenu[1] ={};
tblMenu[1].Text = "Program Ekle";
tblMenu[1].ID = 100;
tblMenu[1].IconID = 11;
tblMenu[1].Checked = false;
tblMenu[1].Enabled = true;


ptMouse = System.GetMousePosition(false, nil);

nRes = Application.ShowPopupMenu(ptMouse.X, ptMouse.Y, tblMenu, TPM_RIGHTALIGN, TPM_TOPALIGN, true, false);

if(nRes == 100)then

nFile = Dialog.FileBrowse(true, "Neon Aıo ~ Program Ekleme Aracı", _DesktopFolder, "Program (*.exe)|*.exe|", "", "dat", false, false);
File.Copy(nFile[1], "AutoPlay\\Docs\\Programlar", true, true, false, true, CopyCallback);
end[/code]

Link to comment
Share on other sites

nFile = Dialog.FileBrowse(true, "Neon Aıo ~ Program Ekleme Aracı", _DesktopFolder, "Program (*.exe)|*.exe|", "", "dat", false, false);
File.Copy(nFile[1], _SourceFolder.."\\AutoPlay\\Docs\\Programlar", true, true, false, true, CopyCallback);

Bu şekilde çalışacaktır.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...