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 or use Replacer to replace the file.
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, subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our popular articles and archive to read other interesting articles.
KHALID4EVER
An Error has been occurred during compile the script.
Compiler Error in line 3 at offset 9
Invalid statement: Text expected
KHALID4EVER
thank you vishal. thank you very much
Chetan
where do I save the compiled file..sorry but i am confused..
VG
^^ You have 2 options:
1. Patch WFP service using WFP Patcher which you can get in "Downloads" section and then you'll be able to save the file without any problem.
2. Save the file at some other location and then replace original file with your edited one using "Replacer" (Available in "Downloads" section).
Chetan
which origional file I should replace with replacer??
Chetan
Thank you sir!finally it works..
Chetan
Is there any way to replace my own bitmaps in run box??
VG
^^ Why not. Follow "All About Resource Hacker" tutorial in "Resource Hacker" section and you'll know how to replace BITMAPs. :)
matt smith
the one problem i find with this is that when you execute the Run dialog the clock stays constant, is there a workround for this so that we can have a working clock and not just a snapshot of the time at which Run was executed?
VG
Yep. The clock will stay constant. No way.