kalpsizkral Posted November 24, 2011 Share Posted November 24, 2011 (edited) Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "EnableLUA", "00000000", REG_DWORD); bu kodla uac yi kapatıyorum tamma ama ben ilk açılışta eğer kapalı değilse projeyi açmamasını istiyom bir dialog açmasınıo istiyom orda uacyi şimdi kapatmak için bi bton olsun ona tıklayıp uacyi kapattıktan sonra otomatik projem açılsın istiyorum otokur v3 te gördüm çok hoşşuma gitti kintaro abim veya ams ustaları bunu yapamadım nasıl yapılıur Edited November 24, 2011 by kalpsizkral Quote Link to comment Share on other sites More sharing options...
KintaRo Posted November 25, 2011 Share Posted November 25, 2011 OtoKur'da kullandığım UAC kontrolu şuydu: [codebox]uacKontrol = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ConsentPromptBehaviorAdmin", false) if uacKontrol == "5" or test == "2" then proceed = Dialog.Message("UAC Kontrol", "Kullanıcı Hesabı Denetimi (UAC) açık durumda; bu haldeyken OtoKur doğru şekilde çalışmayabilir. \r\n\r\nLütfen UAC'yi kapatın ve daha sonra OtoKur'u yeniden başlatın.\r\n\r\nKullanıcı Hesaplarını şimdi açmak için Evet'i, bu işlemi daha sonra yapmak için Hayır'ı tıklayınız.\r\n\r\(Not: UAC'yi kapadıktan sonra bilgisayarı başlatmayı unutmayınız.) ", MB_YESNO, MB_ICONSTOP, MB_DEFBUTTON1); if proceed == IDYES then File.Run(_SystemFolder.."\\UserAccountControlSettings.exe", "", _SystemFolder, SW_SHOWNORMAL, false) Application.Exit() else if proceed == IDNO then Application.Exit() else end end end[/codebox] 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.