Unlock For Us

RegDevelop Part 2 – Using Button, Label and PictureBox Controls

Previous | NEXT: CheckBox and TextBox Control

Button Control – this control will let you launch other programs and use command line applications including scripts and batch files. It’s like launching another program using the “Run” Window.

Launching About Windows

UserInfoButton PropUserInfoButton

Launching System Window

OEMinfoButton propOEMinfoButton

Backup Button Example

backupbutton propbackupbutton

If the WindowStyle Property was set to Hidden, the command prompt will not be seen.

Enable and Disable UAC

EnableDisableUACParameters are long? No problem.

Enable UAC StartProcess Property

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f

Disable UAC StartProcess Property

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

and set WindowStyle Property of both Button to Hidden

More Examples:

RegDevelop Hidden Features

How to Customize or Change the Welcome Screen Background in Windows 7

Coming Soon…

____________________________________________________

Label Control – this is only use to add information like titles, names, heading and others.

label proplabel

_____________________________________________________

PictureBox Control – There are two modes in this control:

Reminder: You can only use one mode at a time.

Mode 1 - Enables you to read and change the image path save in the Registry. Note: If there’s a setting in Mode 2, Remove it first.

Similarities of Between the Registry and RegDevelop

registry

Example: Changing the Original Manufacturers Logo in Vista

DELL_BADGE

RegDevelop PictureBox Property

RegPath

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation

ValueName logo
ValueType string

Mode 2 – Open the image from a specified location for viewing purposes only or viewing and ability to change the image file.

NEXT: CheckBox and TextBox Control

0 Comments:

 

© Naga Heavy Industries (NHI) @2024| Blogger| License Agreement