FİRE BİRD Posted May 27, 2010 Share Posted May 27, 2010 Örnek Çalışmalar bölümündede bulunsun istedim... Kintaronun katkılarıyla... Apz Dosyası :http://www.4shared.com/file/w8xUAEDI/guncelle.html[/CODE] Kod :[CODE]------------ Baglanti Test --------------------------------------------- test = HTTP.TestConnection("http://www.denemex.com", 20, 80, nil, nil); if test == true then HTTP.Download("http://www.denemex.com/Update.xml", _TempFolder .. "\Update.xml", 20, 80) -- xml dosyasını indir end if test == false then Dialog.Message("Hata", "Servere Bağlanamadı.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); Application.ExitScript(); end ------------ Baglanti Test --------------------------------------------- ------------ Karsilastir Eskiyse Update Et ----------------------------- XML.Load(_TempFolder .. "\Update.xml") -- hafizaya yükle a = XML.GetValue("version") -- Sunucudaki XML versiyon bilgisini al XML.Load("AutoPlay\Docs\ref.xml") -- hafizaya yükle b = XML.GetValue("version") -- Referans XML versiyon bilgisini al if a > b then -- eger versiyon eskiyse RichText.SetText("RichText1", "Güncelleme İndiriliyor.", false) HTTP.Download("http://www.denemex.com/update.exe", _DesktopFolder .."\update.exe", 20, 80) --güncellemeyi indir File.Open(_DesktopFolder .."\update.exe", "", SW_SHOWNORMAL); -- güncellemeyi çalıştır File.Delete(_TempFolder .. "\Update.xml", true, true, true, nil); Application.Exit(0); else -- eğer versiyon yeniyse RichText.SetText("RichText1", "Tebrikler,Güncellemeye gerek yok", false); File.Delete(_TempFolder .. "\Update.xml", true, true, true, nil); end ------------ Karsilastir Eskiyse Update Et -----------------------------[/CODE] Quote Link to comment Share on other sites More sharing options...
bellas Posted June 7, 2010 Share Posted June 7, 2010 (edited) xml dosyasini verebilirmisin ?? Edited June 7, 2010 by bellas Quote Link to comment Share on other sites More sharing options...
pcmemo Posted June 7, 2010 Share Posted June 7, 2010 neyi günceller hacım bu ? Quote Link to comment Share on other sites More sharing options...
arslantay Posted June 7, 2010 Share Posted June 7, 2010 herhalde bu uzaktan güncelleme yapabilen aio için yazmıs arkadas sagolsun baya soran vardı autoplay media studio için güzel bi örnek Quote Link to comment Share on other sites More sharing options...
viper75 Posted June 7, 2010 Share Posted June 7, 2010 Güzel bir çalışma kendi hazırladığın aiolarda veya programlarda kullanılabilir Quote Link to comment Share on other sites More sharing options...
egemynet Posted June 7, 2010 Share Posted June 7, 2010 xml dosyasini verebilirmisin ?? Kendin hazırlayabilirsin içeriği önemli değil önemli olan sendeki ile karşılaştırması <referans> <ver> 5 </ver> </referans> gibi olabilir. Quote Link to comment Share on other sites More sharing options...
TRGamer Posted May 18, 2012 Share Posted May 18, 2012 [color="#000000"][b]Elinize sağlık güzel bir çalışma olmuş ama ben yapamadım lütfen yardım edermisiniz.[/b][/color] 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.