ozanc4n Posted October 20, 2014 Share Posted October 20, 2014 Merhaba Arkadaşlar... 18 adet CHECKBOX ve 1 adet KUR butonu var. Checkbox'ların hepsine birer katılımsız program atanmış durumda. Sorum Şu: Checkbox'ların biri veya daha fazlası seçili iken, Kur butonuna bastığımda, obje olarak eklemiş olduğum PROGRESS BAR'ın üzerinde (%10 - %33 - %87 - %100 gibi) yazarak, durumu göstermesi ve ilerlemesini nasıl sağlarım? NOT: Vereceğiniz kodları nereye ekleyeceğimi yazarsanız sevinirim. Şimdiden Teşekkürler. Kur Butonundaki Kodlar: q1 = CheckBox.GetChecked("CheckBox1"); q2 = CheckBox.GetChecked("CheckBox2"); q3 = CheckBox.GetChecked("CheckBox3") q4 = CheckBox.GetChecked("CheckBox4") q5 = CheckBox.GetChecked("CheckBox5") q6 = CheckBox.GetChecked("CheckBox6") q7 = CheckBox.GetChecked("CheckBox7") q8 = CheckBox.GetChecked("CheckBox8") q9 = CheckBox.GetChecked("CheckBox9") q10 = CheckBox.GetChecked("CheckBox10") q11 = CheckBox.GetChecked("CheckBox11") q12 = CheckBox.GetChecked("CheckBox12") q13 = CheckBox.GetChecked("CheckBox13") q14 = CheckBox.GetChecked("CheckBox14") q15 = CheckBox.GetChecked("CheckBox15") q16 = CheckBox.GetChecked("CheckBox16") q17 = CheckBox.GetChecked("CheckBox17") q18 = CheckBox.GetChecked("CheckBox18") if q1 then q1 = File.Run("AutoPlay\\Docs\\ESET NOD32 Antivirus 6.0.316.1 TR.exe", "", "", SW_SHOWNORMAL, true); end if q2 then q2 = File.Run("AutoPlay\\Docs\\Mozilla Firefox 32 Final.exe", "", "", SW_SHOWNORMAL, true); end if q3 then q3 = File.Run("AutoPlay\\Docs\\Google Chrome Stable 36.0.1985.143 Final TR.exe", "", "", SW_SHOWNORMAL, true); end if q4 then q4 = File.Run("AutoPlay\\Docs\\Internet Download Manager 6.21 Build 11 Final TR.exe", "", "", SW_SHOWNORMAL, true); end if q5 then q5 = File.Run("AutoPlay\\Docs\\Glary Utilities Pro 5.9.0.16.exe", "", "", SW_SHOWNORMAL, true); end if q6 then q6 = File.Run("AutoPlay\\Docs\\FormatFactory 3.3.3.0 Katılımsız.exe", "", "", SW_SHOWNORMAL, true); end if q7 then q7 = File.Run("AutoPlay\\Docs\\DAEMON Tools Ultra 2.4.0.0280 TR.exe", "", "", SW_SHOWNORMAL, true); end if q8 then q8 = File.Run("AutoPlay\\Docs\\Ashampoo Burning Studio 9.exe", "", "", SW_SHOWNORMAL, true); end if q9 then q9 = File.Run("AutoPlay\\Docs\\Foxit Reader 6.1.1.1031 Final TR.exe", "", "", SW_SHOWNORMAL, true); end if q10 then q10 = File.Run("AutoPlay\\Docs\\µTorrent Plus 3.4.2.33080 Stable Final TR.exe", "", "", SW_SHOWNORMAL, true); end if q11 then q11 = File.Run("AutoPlay\\Docs\\Media Player Classic Home Cinema 1.7.6 Stable Final TR.exe", "", "", SW_SHOWNORMAL, true); end if q12 then q12 = File.Run("AutoPlay\\Docs\\Net Framework 4.5.1 [Nisan 2014].exe", "", "", SW_SHOWNORMAL, true); end if q13 then q13 = File.Run("AutoPlay\\Docs\\Adobe Flash Player 15.0.0.152 Final TR.exe", "", "", SW_SHOWNORMAL, true); end if q14 then q14 = File.Run("AutoPlay\\Docs\\GOM Player 2.2.56.5183 Final TR.exe", "", "", SW_SHOWNORMAL, true); end if q15 then q15 = File.Run("AutoPlay\\Docs\\Microsoft Office 2007 Enterprise VL SP3 TR.exe", "", "", SW_SHOWNORMAL, true); end if q16 then q16 = File.Run("AutoPlay\\Docs\\WinRAR_5.11_Final_TR.exe", "", "", SW_SHOWNORMAL, true); end if q17 then q17 = File.Run("AutoPlay\\Docs\\Unlocker 1.9.2 Final TR.exe", "", "", SW_SHOWNORMAL, true); end if q18 then q18 = File.Run("AutoPlay\\Docs\\CPU-Z.exe", "", "", SW_SHOWNORMAL, true); end if q1 or q2 or q3 or q4 or q5 or q6 or q7 or q8 or q9 or q10 or q11 or q12 or q13 or q14 or q15 or q16 or q17 or 18 then Dialog.Message("", "Kurulumunuz Bitti Teşekkürler...", MB_OK, MB_ICONNONE, MB_DEFBUTTON2); end Quote Link to comment Share on other sites More sharing options...
ozanc4n Posted October 21, 2014 Author Share Posted October 21, 2014 14 Okuma ve 0 Yorum. KintaRo hocam bir el atarmısınız. Quote Link to comment Share on other sites More sharing options...
ugur4721 Posted October 21, 2014 Share Posted October 21, 2014 bi incele işini görür;tnctr.com/topic/205004- Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 21, 2014 Share Posted October 21, 2014 Hevesini kırmak gibi olmasın ama çok uzun yolu seçmişsin. Forumda çok güzel örnekler var onları incelemeni tavsiye ederim. Dediklerini ekleyerek kodlarını düzelttim. Application.Sleep() satırlarını silmeyi unutma. ben onları deneme için yaptım. Ayrıca progressbar'in özelliklerinden Use Custom Colors'ı işaretlemezsen üstüne text ekleyemiyorsun aklında olsun. https://yadi.sk/d/V9xu_5UHcC8Nr bu arada paslanmışım, zorlandım biraz yaparken. c# çok güzel, gelsenize :) [spoiler] q1 = CheckBox.GetChecked("q1"); q2 = CheckBox.GetChecked("q2"); q3 = CheckBox.GetChecked("q3") q4 = CheckBox.GetChecked("q4") q5 = CheckBox.GetChecked("q5") q6 = CheckBox.GetChecked("q6") q7 = CheckBox.GetChecked("q7") q8 = CheckBox.GetChecked("q8") q9 = CheckBox.GetChecked("q9") q10 = CheckBox.GetChecked("q10") q11 = CheckBox.GetChecked("q11") q12 = CheckBox.GetChecked("q12") q13 = CheckBox.GetChecked("q13") q14 = CheckBox.GetChecked("q14") q15 = CheckBox.GetChecked("q15") q16 = CheckBox.GetChecked("q16") q17 = CheckBox.GetChecked("q17") q18 = CheckBox.GetChecked("q18") SecilenSayisi = 0; for i=1,18 do if CheckBox.GetChecked("q" .. i) then SecilenSayisi = SecilenSayisi + 1; end end Progress.SetCurrentPos("Progress1", 0) Progress.SetRange("Progress1", 0, SecilenSayisi) if q1 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q1 = File.Run("AutoPlay\\Docs\\ESET NOD32 Antivirus 6.0.316.1 TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q2 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q2 = File.Run("AutoPlay\\Docs\\Mozilla Firefox 32 Final.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q3 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q3 = File.Run("AutoPlay\\Docs\\Google Chrome Stable 36.0.1985.143 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q4 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q4 = File.Run("AutoPlay\\Docs\\Internet Download Manager 6.21 Build 11 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q5 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q5 = File.Run("AutoPlay\\Docs\\Glary Utilities Pro 5.9.0.16.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q6 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q6 = File.Run("AutoPlay\\Docs\\FormatFactory 3.3.3.0 Katılımsız.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q7 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q7 = File.Run("AutoPlay\\Docs\\DAEMON Tools Ultra 2.4.0.0280 TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q8 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q8 = File.Run("AutoPlay\\Docs\\Ashampoo Burning Studio 9.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q9 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q9 = File.Run("AutoPlay\\Docs\\Foxit Reader 6.1.1.1031 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q10 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q10 = File.Run("AutoPlay\\Docs\\µTorrent Plus 3.4.2.33080 Stable Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q11 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q11 = File.Run("AutoPlay\\Docs\\Media Player Classic Home Cinema 1.7.6 Stable Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q12 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q12 = File.Run("AutoPlay\\Docs\\Net Framework 4.5.1 [Nisan 2014].exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q13 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q13 = File.Run("AutoPlay\\Docs\\Adobe Flash Player 15.0.0.152 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q14 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q14 = File.Run("AutoPlay\\Docs\\GOM Player 2.2.56.5183 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q15 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q15 = File.Run("AutoPlay\\Docs\\Microsoft Office 2007 Enterprise VL SP3 TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q16 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q16 = File.Run("AutoPlay\\Docs\\WinRAR_5.11_Final_TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q17 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q17 = File.Run("AutoPlay\\Docs\\Unlocker 1.9.2 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q18 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q18 = File.Run("AutoPlay\\Docs\\CPU-Z.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if SecilenSayisi > 0 then Dialog.Message("", "Kurulumunuz Bitti Teşekkürler...", MB_OK, MB_ICONNONE, MB_DEFBUTTON2); end[/spoiler] Quote Link to comment Share on other sites More sharing options...
ozanc4n Posted October 22, 2014 Author Share Posted October 22, 2014 Sarf ettiğin emek ve yardımın için çok teşekkür ederim KintaRo, verdiğin kodlar sıkıntısız çalışıyor... Başarılarının devamını dilerim... İyi Forumlar... Quote Link to comment Share on other sites More sharing options...
ozanc4n Posted October 22, 2014 Author Share Posted October 22, 2014 KintaRo bir ricam daha olacak; Yazdığın kodlarda progress bar (mesala 5 checkbox seçili ise %20-%40-%60-%80-%100) diye ilerliyo bunun ilerlemesini nasıl (%1-%2-%3-%4-%5-%6........%100) yaparım. Quote Link to comment Share on other sites More sharing options...
fba44 Posted October 22, 2014 Share Posted October 22, 2014 Hevesini kırmak gibi olmasın ama çok uzun yolu seçmişsin. Forumda çok güzel örnekler var onları incelemeni tavsiye ederim. Dediklerini ekleyerek kodlarını düzelttim. Application.Sleep() satırlarını silmeyi unutma. ben onları deneme için yaptım. Ayrıca progressbar'in özelliklerinden Use Custom Colors'ı işaretlemezsen üstüne text ekleyemiyorsun aklında olsun. https://yadi.sk/d/V9xu_5UHcC8Nr bu arada paslanmışım, zorlandım biraz yaparken. c# çok güzel, gelsenize :) [spoiler] q1 = CheckBox.GetChecked("q1"); q2 = CheckBox.GetChecked("q2"); q3 = CheckBox.GetChecked("q3") q4 = CheckBox.GetChecked("q4") q5 = CheckBox.GetChecked("q5") q6 = CheckBox.GetChecked("q6") q7 = CheckBox.GetChecked("q7") q8 = CheckBox.GetChecked("q8") q9 = CheckBox.GetChecked("q9") q10 = CheckBox.GetChecked("q10") q11 = CheckBox.GetChecked("q11") q12 = CheckBox.GetChecked("q12") q13 = CheckBox.GetChecked("q13") q14 = CheckBox.GetChecked("q14") q15 = CheckBox.GetChecked("q15") q16 = CheckBox.GetChecked("q16") q17 = CheckBox.GetChecked("q17") q18 = CheckBox.GetChecked("q18") SecilenSayisi = 0; for i=1,18 do if CheckBox.GetChecked("q" .. i) then SecilenSayisi = SecilenSayisi + 1; end end Progress.SetCurrentPos("Progress1", 0) Progress.SetRange("Progress1", 0, SecilenSayisi) if q1 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q1 = File.Run("AutoPlay\\Docs\\ESET NOD32 Antivirus 6.0.316.1 TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q2 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q2 = File.Run("AutoPlay\\Docs\\Mozilla Firefox 32 Final.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q3 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q3 = File.Run("AutoPlay\\Docs\\Google Chrome Stable 36.0.1985.143 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q4 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q4 = File.Run("AutoPlay\\Docs\\Internet Download Manager 6.21 Build 11 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q5 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q5 = File.Run("AutoPlay\\Docs\\Glary Utilities Pro 5.9.0.16.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q6 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q6 = File.Run("AutoPlay\\Docs\\FormatFactory 3.3.3.0 Katılımsız.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q7 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q7 = File.Run("AutoPlay\\Docs\\DAEMON Tools Ultra 2.4.0.0280 TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q8 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q8 = File.Run("AutoPlay\\Docs\\Ashampoo Burning Studio 9.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q9 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q9 = File.Run("AutoPlay\\Docs\\Foxit Reader 6.1.1.1031 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q10 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q10 = File.Run("AutoPlay\\Docs\\µTorrent Plus 3.4.2.33080 Stable Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q11 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q11 = File.Run("AutoPlay\\Docs\\Media Player Classic Home Cinema 1.7.6 Stable Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q12 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q12 = File.Run("AutoPlay\\Docs\\Net Framework 4.5.1 [Nisan 2014].exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q13 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q13 = File.Run("AutoPlay\\Docs\\Adobe Flash Player 15.0.0.152 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q14 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q14 = File.Run("AutoPlay\\Docs\\GOM Player 2.2.56.5183 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q15 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q15 = File.Run("AutoPlay\\Docs\\Microsoft Office 2007 Enterprise VL SP3 TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q16 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q16 = File.Run("AutoPlay\\Docs\\WinRAR_5.11_Final_TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q17 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q17 = File.Run("AutoPlay\\Docs\\Unlocker 1.9.2 Final TR.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if q18 then nPos = Progress.GetCurrentPos("Progress1") Progress.SetCurrentPos("Progress1", nPos+1) Progress.SetText("Progress1", "%" .. Math.Round(((nPos+1)/SecilenSayisi)*100), 2) q18 = File.Run("AutoPlay\\Docs\\CPU-Z.exe", "", "", SW_SHOWNORMAL, true); Application.Sleep(100) end if SecilenSayisi > 0 then Dialog.Message("", "Kurulumunuz Bitti Teşekkürler...", MB_OK, MB_ICONNONE, MB_DEFBUTTON2); end [/spoiler] Kintaro üstadım burada AMS gibi birde c# kategorisi açmayı düşünüyormusunuz ? Bende buna geçmeyi düşünüyorum en azından ams gibi güzel bilgiler katar herkese Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 22, 2014 Share Posted October 22, 2014 KintaRo bir ricam daha olacak; Yazdığın kodlarda progress bar (mesala 5 checkbox seçili ise %20-%40-%60-%80-%100) diye ilerliyo bunun ilerlemesini nasıl (%1-%2-%3-%4-%5-%6........%100) yaparım. senin istediğin matematiğe aykırı geldi biraz. Progress hesaplaması (Sira/SecilenSayisi)*100 şeklinde yapılıyor. yani 10 chckbox seçilmişse ve şu an sıra 2. checkboxta ise %20 olacaktır. %1 2 3 diye gitmesi için en az 100 checkbox'ın seçilmesi gerekir. Kintaro üstadım burada AMS gibi birde c# kategorisi açmayı düşünüyormusunuz ? Bende buna geçmeyi düşünüyorum en azından ams gibi güzel bilgiler katar herkese evet bunu görüşüyoruz fakat zaman bulamadığımız için hayata geçiremedik henüz. Quote Link to comment Share on other sites More sharing options...
fba44 Posted October 22, 2014 Share Posted October 22, 2014 İnşallah en kısa zamanda yaparsınız. Birşey sormak istiyorum peki c# için hangi program yada derleyici kullanmalıyım. Visial studio 2005 - 2010 - 2012 vs. ? Ayrıca andoid yazılım da geliştirmek mümkün mü bunlarla? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 22, 2014 Share Posted October 22, 2014 ben VS 2013 ile başladım öyle devam ediyorum. Visual Studio içinde bu standart olarak yok diye biliyorum ama xamarin gibi platformlarla bu mümkün. Tek arayüzde her platforma (ios, android, mac, windows vs) uygulama geliştirmek istiyorsan Delphi XE4 ve XE5 bu iş için ideal. Quote Link to comment Share on other sites More sharing options...
fba44 Posted October 22, 2014 Share Posted October 22, 2014 ben VS 2013 ile başladım öyle devam ediyorum. Visual Studio içinde bu standart olarak yok diye biliyorum ama xamarin gibi platformlarla bu mümkün. Tek arayüzde her platforma (ios, android, mac, windows vs) uygulama geliştirmek istiyorsan Delphi XE4 ve XE5 bu iş için ideal. evet bende bu yüzden kararsıx kaldım XE5 mi Visual studio mu diye Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 22, 2014 Share Posted October 22, 2014 ikisi de muhteşem. önemli olan ihtiyaç. Quote Link to comment Share on other sites More sharing options...
G246kmenYildirim Posted March 27, 2015 Share Posted March 27, 2015 (edited) bu proress yüzdesinde 100/100 kalıyor kurulum bitince nasıl sıfırlanıyor Edited March 27, 2015 by MostWanted Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 27, 2015 Share Posted March 27, 2015 Progress.SetCurrentPos("Progress1", 0) Quote Link to comment Share on other sites More sharing options...
iomerg Posted March 27, 2015 Share Posted March 27, 2015 ikisi de muhteşem. önemli olan ihtiyaç. C# öğrenmeyi bende çok istiyorum sıfırdan başlamak istiyorum ne önerirsiniz.Nasıl yeterli seviyeye geliriz.Kurslar şartmı. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 27, 2015 Share Posted March 27, 2015 kurs tabii ki iyi olur, ama programlama geçmişiniz varsa kendiniz de öğrenebilirsiniz. Kitap ya da görsel eğitim setleriyle başlayabilirsiniz 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.