asil123123 Posted July 17, 2012 Share Posted July 17, 2012 AMS ile kendime 100 page lik bir günlük hazırladım bunu exe haline getirdiğimde içerisine yazdıklarım programı kapattıktan sonra siliniyor kayıt edmiyor yani nasıl kayıt etmesini sağlayabilirim? Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted July 17, 2012 Share Posted July 17, 2012 (edited) İni'ye kayıt ettirebilirsin en kolay yöntem olarak Mesela AutoPlay\\Docs içine bir ini oluştur Projene bir input ve bir buton oluştuır. Butona basıldığı zaman iniye ini.setvalue ile kaydettirirsin. Başlangıçtada istedeiğin bir valueden input a yazdırısın. Edited July 17, 2012 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
asil123123 Posted July 17, 2012 Author Share Posted July 17, 2012 hocam ben amatörüm ya ini falan biraz daha ayrıntıya girermisin lütfen :/ Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted July 17, 2012 Share Posted July 17, 2012 Şöyle anlatayım Projende bir butonun iki tanede input objen var butondaki kodların şöyle olacak iniye kayıt etmesi için INIFile.SetValue(_WindowsFolder.."\\My Settings.ini", [color="#ff0000"]"My Section"[/color], [color="#0000ff"]"My Value"[/color],[color="#00ff00"] "My Data"[/color]); Kırmızılı olan yer İnide "[]" köşeli parantez içine alınan yer Mavili olan yer sana göre "gün" Yeşilli olan yer ise günlüğün içeriği Şimdi senin butona yazacaın kodların şöyle olacak gun = Input.GetText("Input1") icerik = Input.GetText("Input2") INIFile.SetValue(_WindowsFolder.."\\My Settings.ini", "My Section", gun, icerik); Bu şekilde kaydettirirsin eğer yanlış yazdığım bir yer varsa üstadlarım uyarsınlar Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 17, 2012 Share Posted July 17, 2012 [b][warning]örnek projeleri, eğitimleri, soru cevapları incelemeden konu açamazsınız.[/warning][/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.