Jump to content

Reg Kaydını Yapamadım


byhabit
 Share

Recommended Posts

selam arkadaşlar çok basit bir mesele biliyorum ama bir projede birçok işlem yaptırıyorum reg kayıtları dahil fakat şu iki anahtarı bir türlü yaptıramıyorum ( Bilgisayarım sağ tık menüsüne aygıt yöneticisi ve prgrm değiştir kaldır )

örnek proje

 

https://www.mediafire.com/?t5n97vfa34zcosp

 

kodlar

 

check1 = CheckBox.GetChecked("CheckBox1")  
check2 = CheckBox.GetChecked("CheckBox2")
 
if check1 == true then
Registry.SetValue(HKEY_CLASSES_ROOT,"CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\Ayg1t Yöneticisi\\Command","","mmc.exe devmgmt.msc",REG_SZ);
end
 
if check2 == true then
Registry.SetValue(HKEY_CLASSES_ROOT,"CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\Program kald1r veya Dei_tir\\Command","","control.exe appwiz.cpl",REG_SZ);
end
 
if check1 == true or
check2 == true then
Dialog.Message("test", "İşlem tamam", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
for i=1, 2 do
CheckBox.SetChecked("ch"..i, false);
end
else
Dialog.Message("test", "Seçim Yapmalısın", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
end
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...