Kral__ Posted February 18, 2012 Share Posted February 18, 2012 Listicondan seçilmiş olan dosyanın tam adını alıcak ve txt dosyasında adı şu şekil olucak .... "Klasör Yolu" ..dosya.. ".txt" .... gibi olucak txt de yazan bilgileride paragrafa atıcak nasıl yapabilirm Quote Link to comment Share on other sites More sharing options...
KintaRo Posted February 18, 2012 Share Posted February 18, 2012 bir dosya yolunu ayırmak için String.SplitPath() kullanılır. Bunun dönüşü tablodur. Kısa bir örnek vereyim: [quote]sYol = "C:\\Windows\\notepad.exe"[/quote] sYol değişkeninde depolanan yolu ayırmak için: [quote]tAyir = String.SplitPath(sYol)[/quote] dediğimiz zaman şu verileri kullanabiliriz: [quote]tAyir.Drive -- C:\ tAyir.Folder -- Windows\ tAyir.Filename -- notepad tAyir.Extension -- .exe[/quote] artık nerde nasıl kullanmak istiyorsanız bu şekildeki dönüşleri kullanırsınız. Quote Link to comment Share on other sites More sharing options...
Kral__ Posted February 19, 2012 Author Share Posted February 19, 2012 burayarı yaptım fakat listbox olsaydı getselected - itemgettext yapardım fakat listicondaki analayamadım Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted February 19, 2012 Share Posted February 19, 2012 [b]Proje ver bakalım. Hem listiconda get.celltext var. Onu kullan.[/b] 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.