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:
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.
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 needs 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.
This article was posted by VG in following section: Resource Hacker, Windows XP.
If you enjoyed this article, you can subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our most popular articles and archive to read other interesting articles. If you have some news or tip to share, please send us.
Abhishek
Tried so many times but now I became tried! :?:
tell me some ting to do that gives us more knowledge about Hacker.
VG
^^ Please read following tutorial for a brief knowledge of Resource Hacker:
Link
Azh
VG can you please elaborate on step no. 4 and no. 5 i am confused on how to do it, i mean what are the exact steps that i should fallow. Thanks a lot!
VG
Read following tutorial for better understanding:
Link
S S S
very nice
nitin
hey vishal
give me the link to resource hacker
will be appreciated
VG
^^ Here it is:
Link
nitin
hey thanks for the link.
vishal, give me the complete tut of 'hacking run dialog box in win xp'. Coz in the above tut u do not clear the things where to save avi file into, and and the bitmap 111 and how to attach these files together. thanks for the help...
DesignerIP
thx VG for this awesome tutorial
but i have a question....
what script should i input to show the "Cancel" button?
VG
^^ Please download the second file in Point 6.