Friends

Sunday, April 10, 2011

[Version 1] Customizing RUN Dialog Box in Windows XP Using Resource Hacker

Following is a screenshot of RUN dialog box which you'll get after applying this tutorial:
1. Download the Mickey Mouse BMP file and progress AVI file using following link:
Download BMP and AVI files
2. Open shell32.dll file in Resource Hacker.
3. Add the BITMAP and give it name 405 (You can give any name but this is what I gave in my Shell32.dll file, You have to give it same if you want to copy the same code as I'm posting here).
4. Add the AVI and give it name 111.
5. Now go to Dialog -> 1003 -> 1033 and replace existing code with the following code:

1003 DIALOGEX 0, 0, 432, 245
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Run Dialog Box Hacked by Vishal Gupta"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS SHELL DLG"
{
CONTROL "", 12298, COMBOBOX, CBS_SIMPLE | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 218, 95, 182, 13
CONTROL "&Go", 1, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 247, 117, 50, 14
CONTROL "&Locate...", 12288, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 309, 117, 50, 14
CONTROL 405, 0, STATIC, SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_GROUP, 0, 0, 208, 122
CONTROL "#111", 0, "SysAnimate32", ACS_CENTER | ACS_TRANSPARENT | ACS_AUTOPLAY | WS_CHILD | WS_VISIBLE, 200, 35, 133, 9
CONTROL "", 0, "SysDateTimePick32", DTS_LONGDATEFORMAT | WS_CHILD | WS_VISIBLE, 170, 206, 130, 14
CONTROL "", 0, "SysDateTimePick32", DTS_SHORTDATEFORMAT | DTS_UPDOWN | DTS_TIMEFORMAT | WS_CHILD | WS_VISIBLE, 330, 206, 60, 14
}
6. Now compile the script and save the file.
NOTE: If you are facing problems while saving the file after editing in resource hacker, then make sure you have disabled WFP (Windows File Protection) service using WFP Patcher, it can be found in our "Download" section.
Also if you are getting error "Can't create file...", that means you have edited and saved the file in past and there is a backup file which need to be deleted before saving this file again. Go to "System32" folder and you'll see a file having "shell32_original.dll". Delete it and try to save the file in resource hacker.

0 comments:

Post a Comment

#
### ###