![]() |
Registry System utility
1 Attachment(s)
Here,It my another Project, System Utility ver 1.0. let me explain it's functionality
Basically this whole program depends on the registry. The registry in Windows holds the key to each and every aspects of the Windows Operating System, but only if you find them in registry and use them. Now , let us see how to manually Disable and Enable the drives using the keys in the Registry. 1.Disable/Enable Drives: The key for the Number of drives in the registry is available at,2.Disable Control panel: The Key Holding data to Show or Hide Control Panel is3. Disable Change Password: This option you are going to see when u press (CTRL+ALT+DEL) in WIN2000 and above and its Key is4.Disable Search: This option you are going to see in Start menu and it Key is5.Disable RUN: This option is available in Start menu and it Key is6.Disable ShutDown: This option is available in Start menu and it Key is7.Disable NetworkAccess: This option is available on the Desktop and it Key is8.Disable TaskBar Setting: This option you are going to see at Desktop and it Key is9.Disable RegEdit: This is Registry Editor tool10.Disable TaskManager: This option you are going to see usually in windows 2000 and above when you press (CTRL+ALT_DEL), its Key is11.Disable Context Menu: This option you are going to see is accessible by a Right click on DESKTOP. This is what is known as Context menu and it Key is12. Disable Desktop icon: This option applies all the icon present on desktop ,it key is13.Disable Display Properties: This option you are going to see is accessible by a Right click on DESKTOP and click on Properties menu item and it Key is14.Disable Background Tab: This option you are going to see in Display Control Panel and it Key is15.Disable ScreenSaver Tab: This option you are going to see In Display Control Panel and it Key is16.Disable Setting And Plus Tab: This option you are going to see In Display Control Panel and it Key is17.Disable Appearance Tab: This option you are going to see In Display Contral Panel and it Key isI think I have explained all the functionalities of the program. Remember one thing. Some of these options show effect only when the computer is restarted. Using this Program: * Just Check on the Restriction you want to apply and click apply, the restriction are applied. * Remember most of restriction after applying and disapplying need Restarting of your computer ok. Registry Class - CNMPDrivesClass The Declaration of the Class is this -> Code: CPP
Now let me explain working of each function 1. void SendTypeOFDrives(CUIntArray &Stat); This function fills the Types of Drives Present in the computer into an array of type CUIntArray. The values are filled according to Drives like If your computer has (A: C: D: E:), in the alphabetical order.2. void SendStatusOFDrives(CUIntArray &stat); This function will tell status of drives either it Enabled or disabled. This argument contains the Drives Int, which are disabled eg int(65) stand for A, int (66) for B and so on.3. BOOL GetDrivesVolume(CStringArray &VolumeName,CDWordArray SerialNumber,CStringArray &FileSystem); This function contains the information about Volume Name, Serial Number And File System of drives, and it Sequence is same as above.4.void NMPReturnNoOfDrives(CUIntArray &NoOfDrives); This function returns the number of drives the local system contain, but it will return Integer equivalent of character.5. void NMPDisableLocalDrives(CUIntArray &a); This function will Disable the local drives in the computer, but remember it erases the previous values before writing to it.Note-> The Attach Ment Includes The Application EXE |
Re: My Project: System utility
2 Attachment(s)
--->Adding Rest OF Source CODE
|
Re: My Project: System utility
Nice explanation and will get into code when I get some time.
Thanks Shabbir Bhimani |
Re: My Project: System utility
My Pleasure,
thanks,i think i am improving on language Fronts :d |
Re: My Project: System utility
Quote:
Can u tell me How to Disable the Windows Help On Windows 2000 using Registery. REGARDS Ranjith Kumar.S |
Re: Registry System utility
Hi,
Thank u for Using the way for Registery programming Thanks®ards Chenthil.k |
Re: Registry System utility
attached EXE file doesn't seem to be working. Has anyone tried this thing?
|
Re: Registry System utility
Quote:
|
Re: Registry System utility
hi mr shabbir..
I should learn immediately, how to assign a value as a member from RegisteryKeyValue class the codes are below: RegistryValueKind REG_BINARY = RegistryValueKind.Binary; const double deger = 000000000000000000000000000000000000000000000000; key = Registry.LocalMachine.CreateSubKey(@"System\Curren tControlSet\Control\KeyBoard Layout"); key.SetValue("XXX", deger, REG_BINARY); COMPİLER THROWS AN ARGUMENTEXCEPTİON AS "deger and REG_BINARY types do not be converted properly" HOW CAN I GET OVER THE PROBLEM??? |
Re: Registry System utility
nice explanation
|
| All times are GMT +5.5. The time now is 22:29. |