peerfen Posted March 23, 2010 Share Posted March 23, 2010 Otokur daki programlarin kurulum sirasina göre progress cubugunun yürümesini nasil ayarliyabiliriz kur butonum asagidaki sekilde ana menüye progress cubugu ekleyip kodalara biseyler eklemem gerekiyor sanirim yardimci olursaniz sevinirim result = CheckBox.GetChecked("CheckBox1"); if result then Label.SetText("Label1", "Wmp 11"); File.Run("AutoPlay\\Docs\\Windows Media Player11.exe", "/w", "", SW_MAXIMIZE, true); Label.SetText("Label1", "Wmp 11 Ok"); Application.Sleep(1500); end result = CheckBox.GetChecked("CheckBox2"); if result then Label.SetText("Label1", "VisualTaskTips"); File.Run("AutoPlay\\Docs\\VisualTaskTips.exe", "/w", "", SW_MAXIMIZE, true); Label.SetText("Label1", "VisualTaskTips Ok"); Application.Sleep(1500); end result = CheckBox.GetChecked("CheckBox3"); if result then Label.SetText("Label1", "Antihacker"); File.Run("AutoPlay\\Docs\\Kaspersky Antihacker.exe", "/w", "", SW_MAXIMIZE, true); Label.SetText("Label1", "Antihacker Ok"); Application.Sleep(1500); end[/CODE] bunun yanitini bilen arkadas yokmu acaba uzun zamandir aradim bir sonuca varamadim Link to comment Share on other sites More sharing options...
KintaRo Posted March 23, 2010 Share Posted March 23, 2010 her if result then kodundan sonra Progress.StepIt("Progress1")[/CODE] kodunu koyarsan bir adım ileri ******ürmüş olursun progress barı. Ayrıca [CODE]Progress.SetText("Progress1", "%33")[/CODE] Şeklinde progress barın metninide değiştirebilirsin. Link to comment Share on other sites More sharing options...
peerfen Posted March 24, 2010 Author Share Posted March 24, 2010 her if result then kodundan sonra Progress.StepIt("Progress1")[/CODE] kodunu koyarsan bir adım ileri ******ürmüş olursun progress barı. Ayrıca [CODE]Progress.SetText("Progress1", "%33")[/CODE] Şeklinde progress barın metninide değiştirebilirsin. Tesekürler @KintaRo ufak bir sorun var mesela AIO da 30 pogramin var 30 unuda kurdurmak istersen dedigin olur fakat 30 pogramin 20 sini secerek kurdurmaya kalksan yüzde ve progress yürümesi baya bi karisik olur yanlismiyim Link to comment Share on other sites More sharing options...
KintaRo Posted March 24, 2010 Share Posted March 24, 2010 Tabii ki haklısın ben örneği otokur üzerinden sorduğun için o şekilde verdim. Eğer Checkbox'lı kurulum kullanacaksan bu iş için en ideali StatusDlg fonksiyonudur. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.