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

Recently we told you how to customize RUN dialog box UI in Windows:

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

And now its turn of another customization tip. This tutorial will help you in changing RUN dialog box look-n-feel.

Advertisement

Following is a screenshot of RUN dialog box which you’ll get after applying this tutorial:

Run_Dialog_Box_v2.png

Here is a step-by-step tutorial for making your RUN dialog box look-a-like the above:

1. Download following ZIP file and extract it:

Download Images

2. Now open %windir%\System32\Shell32.dll file in Resource Hacker.

3. Add 404.bmp at 404 location.

Advertisement

4. Add 405.bmp at 405 location.

5. Now go to Dialog -> 1003 -> 1033 and replace existing code with the following code:

1003 DIALOGEX 0, 0, 275, 160
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION “Windows Vista Registered to – Vishal Gupta”
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, “MS SHELL DLG”
{
CONTROL “Windows Edition”, 304, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 5, 50, 265, 83
CONTROL “Windows Vista Ultimate”, 52, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 25, 65, 162, 8
CONTROL “Customized By : VISHAL GUPTA”, 54, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 25, 81, 100, 8
CONTROL “Copyright (c) 2006 Microsoft Corporation. All rights reserved.”, 0, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 10, 99, 195, 9
CONTROL 405, 0, STATIC, SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 204, 58, 64, 59
CONTROL “”, 12298, COMBOBOX, CBS_SIMPLE | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 10, 115, 195, 13
CONTROL “&Locate…”, 12288, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 210, 140, 50, 14
CONTROL “&Go!”, 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 140, 50, 14
CONTROL “”, 0, “SysDateTimePick32”, DTS_LONGDATEFORMAT | WS_CHILD | WS_VISIBLE, 15, 140, 135, 14
CONTROL 404, 0, STATIC, SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 0, 0, 274, 44
}

You can change the strings according to your needs.

NOTE 1: 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.

NOTE 2: If you get “Cannot create file” error message while saving the file, please check following tutorial:

How to Fix “Cannot Create File” Error Message While Saving Files in Resource Hacker?

Published in: Windows XP

About the author: Vishal Gupta (also known as VG) has been awarded with Microsoft MVP (Most Valuable Professional) award. He holds Masters degree in Computer Applications (MCA). He has written several tech articles for popular newspapers and magazines and has also appeared in tech shows on various TV channels.

Comments

NOTE: Older comments have been removed to reduce database overhead.

Leave a Comment

Your email address will not be published. Required fields are marked *

NOTE: Your comment may not appear immediately. It'll become visible once we approve it.