kalpsizkral Posted October 18, 2011 Share Posted October 18, 2011 hocalarım güncellem dosyası hazırladım diyelim burda programları güncelliyo ya biz projemize yeni bir özellik kattık diyelim projenin kendisinide değişebilirmiyiz ve güncellem uyarısı verdirebilirmiyiz diyelim programlar güncel değil kullanan kimse ona uyarı mesajı gitse yeni güncelleme var dese bu mümkün mü Quote Link to comment Share on other sites More sharing options...
Kral__ Posted October 18, 2011 Share Posted October 18, 2011 kardeş bi araştır istersen Quote Link to comment Share on other sites More sharing options...
Byogulcan Posted October 18, 2011 Share Posted October 18, 2011 Ams ile hersey mumkun kanka kullanmasını bilene. Quote Link to comment Share on other sites More sharing options...
pilgetir Posted October 18, 2011 Share Posted October 18, 2011 Ben böyle yapıyorum.Bir siten varsa değiştir o adresi güncelleme uyarısı vermek itiyorsan sitnin ftpsine deneme.txt isminde dosya atarsan güncelleme butonunda uyarı verecektir Güncelleme var diye..Ben sunu kullanıyorum [quote]function guncelleme () connected = HTTP.TestConnection("http://www.siteadresi.com/deneme.txt", 20, 80, nil, nil); if connected then Dialog.Message("Dikkat", "Güncelleme var", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); else Dialog.Message("Dikkat", "Güncelleme yok", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); end end[/quote] Quote Link to comment Share on other sites More sharing options...
0mh3r Posted October 18, 2011 Share Posted October 18, 2011 hmm sitesi olanlar için güzel bir çalışma Quote Link to comment Share on other sites More sharing options...
kaan_karabey Posted January 9, 2014 Share Posted January 9, 2014 function guncelleme ()connected = HTTP.TestConnection("http://www.siteadresi.com/deneme.txt", 20, 80, nil, nil);if connected thenDialog.Message("Dikkat", "Güncelleme var", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);elseDialog.Message("Dikkat", "Güncelleme yok", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);endend Ben böyle yapıyorum.Bir siten varsa değiştir o adresi güncelleme uyarısı vermek itiyorsan sitnin ftpsine deneme.txt isminde dosya atarsan güncelleme butonunda uyarı verecektir Güncelleme var diye..Ben sunu kullanıyorum deneme.txt içine ne yazıyorsun???? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted January 9, 2014 Share Posted January 9, 2014 birşey yazmana gerek yok, o kod dosyanın olup olmadığını kontrol ediyor sadece. Quote Link to comment Share on other sites More sharing options...
kaan_karabey Posted January 9, 2014 Share Posted January 9, 2014 birşey yazmana gerek yok, o kod dosyanın olup olmadığını kontrol ediyor sadece. peki bu güncelleme işi nasıl olacak bir açıklama yapabilirmisiniz pek anlamadım :( Quote Link to comment Share on other sites More sharing options...
KintaRo Posted January 9, 2014 Share Posted January 9, 2014 valla daha önceleri çok anlattık bunu. en basit yöntemi; programınızın veritabanında ya da bir ini dosyasında programın sürümü yazar. örnek diyelim 1.0 uzak sunucuda ise bir ini dosyasında güncel sürüm yazar. HTTP.Download() ile ini dosyasını indirtip, INIFile.GetValue() ile güncel sürümü alıp, programınızdaki sürüm ile karşılaştırırsınız, eğer eşleşiyorsa sorun yok, eşleşmiyorsa güncelleme dosyasını indirtirsiniz ya da web siteniz varsa update sayfasına yönlendirirsiniz. 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.