Jumat, 12 November 2010

How can i disable find target from properties

Best Answer - Chosen by Voters

Brace yourself because this one is a pain:

I think the only way you can do this is with ResHacker to make custom Shell32.dll files. You can get it here: http://www.portablefreeware.com/?sc=113

Instructions:
-run reshacker
-open "C:\windows\system\SHELL32.DLL".
-Expand the "Dialog" folder.
-Expand the "1040" folder.
-Click on the "1036" icon.
You should see some script in the main window and a menu to the right called "Dialog-1040" that looks like the shortcut tab of the .LNK file properties.
-On that menu to the right, rightcick on any object composing the menu and chose "Edit control".
A new menu called "Control editor" should popup. Look in the bottom-left part oft that menu. There is a liste of properties available for that control. Some should already be selected in yellow.
-Select the property called "WS_DISABLED".
-Click on the OK button.
-Do the same for every field and button composing the Dialog-1040.
-When your done, click the "Compile" button at the top of the main window.
-Save the project as "SHELL32.TMP" in C:\windows\system\
-Create a batch file called CHNGSHELL.BAT and add these lines: (for future changes)

attrib SHELL32.DLL -s
rename SHELL32.DLL SHELL32.BKP
rename SHELL32.TMP SHELL32.DLL
attrib SHELL32.DLL +s

-Create an other batch file called RSTRSHELL.BAT and add these lines: (To restore the SHELL32.DLL in case there's trouble)

attrib SHELL32.DLL -s
rename SHELL32.DLL SHELL32.TMP
rename SHELL32.BKP SHELL32.DLL
attrib SHELL32.DLL +s

-Reboot your machine in MS-DOS.
-Go to C:\windows\system\
-Execute CHNGSHELL.BAT
-Restart windows
-Rightclick on a shortcut and chose Properties
-VOILA!

You can use the RSTRSHELL.BAT to restore the SHELL32.DLL like it was before.
Try and explore ResHack. It's a great tool that will help change and extract ressources in many EXE, DLL, CPL and many other files types.
  • 2 years ago

NOTEPAD