xmen14 Posted July 17, 2019 Share Posted July 17, 2019 Resmi her güncellemek istediğimde bu hatayı alıyorum. Resimlerin bulunduğu klasörlere oku yazma izni de verdim. Ama nafile, sonuç değişmedi. Bu sorunu çözmek zor mu? Quote Link to comment Share on other sites More sharing options...
hadibeolsun Posted July 17, 2019 Share Posted July 17, 2019 (edited) Görev yöneticisinden daha önce başlatılmış olan ve hala işleyen (yaptığımız programın ismi) .exe yi sonlandırın. Application.startuppath olayını yazmandaki neden nedir? Application.StartupPath + "\\UrunResimleri\\"+Resim; olarak değiştirir misin. string hedef= "\\UrunResimleri\\"+Resim; olarak hedef e endexleyerek dener misin. Örnek : Please register to see this content. Edited July 17, 2019 by hadibeolsun Quote Link to comment Share on other sites More sharing options...
xmen14 Posted July 17, 2019 Author Share Posted July 17, 2019 (edited) hadibeolsun, 9 dakika önce yazdı: string hedef= "\\UrunResimleri\\"+Resim; Bu seferde bu hatayı verdi. " Application.StartupPath + "\\UrunResimleri\\"+Resim " bu şekilde yapmamın sebebi bu olsa gerek. Please register to see this content. Edited July 17, 2019 by xmen14 Quote Link to comment Share on other sites More sharing options...
xmen14 Posted July 17, 2019 Author Share Posted July 17, 2019 Birde bu yolla yaptım yine hata aldım. Please register to see this content. 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.