Kral__ Posted February 26, 2012 Share Posted February 26, 2012 [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 Quote Link to comment Share on other sites More sharing options...
El-Arabi Posted February 26, 2012 Share Posted February 26, 2012 (edited) 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 February 26, 2012 by El-Arabi Quote Link to comment Share on other sites More sharing options...
Kral__ Posted February 26, 2012 Author Share Posted February 26, 2012 evet var [spoiler][img]http://b1202.hizliresim.com/u/u/3106j.png[/img][/spoiler] Quote Link to comment Share on other sites More sharing options...
El-Arabi Posted February 26, 2012 Share Posted February 26, 2012 (edited) Kod çalışıyor valla bende Dialog un başındaki false ı true yap. Edited February 26, 2012 by El-Arabi Quote Link to comment Share on other sites More sharing options...
Kral__ Posted February 26, 2012 Author Share Posted February 26, 2012 (edited) off klasörü başka yere taşısam fark edermiki olmuyor Edited February 26, 2012 by Kral__ Quote Link to comment Share on other sites More sharing options...
El-Arabi Posted February 26, 2012 Share Posted February 26, 2012 Diğer kodlarında vardır sorun yada değişkenler çakışıyor olmasın nFile Quote Link to comment Share on other sites More sharing options...
Kral__ Posted February 26, 2012 Author Share Posted February 26, 2012 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] Quote Link to comment Share on other sites More sharing options...
El-Arabi Posted February 26, 2012 Share Posted February 26, 2012 Sorun AutoPlay yolunda orası bendede çalışmadı nedense bakıcam şimdi ben masa üstüne kopyalatmıştım. Quote Link to comment Share on other sites More sharing options...
Kral__ Posted February 26, 2012 Author Share Posted February 26, 2012 hadi bakalım çok çok önemli benim için Quote Link to comment Share on other sites More sharing options...
El-Arabi Posted February 26, 2012 Share Posted February 26, 2012 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.