devexpress winforms barcode control Renaming Desktop Icons in .NET

Draw Data Matrix 2d barcode in .NET Renaming Desktop Icons

Renaming Desktop Icons
Data Matrix Drawer In .NET Framework
Using Barcode creator for ASP.NET Control to generate, create Data Matrix 2d barcode image in ASP.NET applications.
www.OnBarcode.com
Barcode Creation In Visual Studio .NET
Using Barcode drawer for ASP.NET Control to generate, create bar code image in ASP.NET applications.
www.OnBarcode.com
On the desktop, you can rename the My Computer, My Network Places, My Documents, and Internet Explorer icons. Assuming you see these icons on your desktop, right click them, and then click Rename. Other icons, like the Recycle Bin, aren't so easy. No Rename command is available for them. You rename an icon without a Rename command by editing its class registration. Change the value of LocalizedString. Here's an example: In Table 4 1, you see the Recycle Bin's class ID is 82
DataMatrix Printer In C#.NET
Using Barcode creation for Visual Studio .NET Control to generate, create Data Matrix 2d barcode image in Visual Studio .NET applications.
www.OnBarcode.com
Draw DataMatrix In .NET Framework
Using Barcode generation for Visual Studio .NET Control to generate, create Data Matrix image in Visual Studio .NET applications.
www.OnBarcode.com
{645FF040 5081 101B 9F08 00AA002F954E}. To rename the Recycle Bin icon to Trash Can, set t h e v a l u e o f L o c a l i z e d S t r i n g i n t h e k e y HKCR\CLSID\{645FF040 5081 101B 9F08 00AA002F954E} to Trash Can. Afterward, click the desktop, and press F5 to refresh its contents. The value LocalizedString usually contains something like @%SystemRoot%\system32\SHELL32.dll, 8964, which means that Windows XP uses the string with the ID 8964 from the file Shell32.dll. Just replace all that with the new name. Tip LocalizedString is a REG_EXPAND_SZ value, so you can use environment variables. For example, set LocalizedString to %USERNAME%'s Garbage, and the user Jerry sees Jerry's Garbage below the icon. You can do this for other icons as well. My Computer's class ID is {20D04FE0 3AEA 1069 A2D8 08002B30309D}. Change L o c a l i z e d S t r i n g i n HKCR\CLSID\{20D04FE0 3AEA 1069 A2D8 08002B30309D} to %USERNAME%'s Computer, and the user Jerry sees Jerry's Computer instead of My Computer; the user Sally sees Sally's Computer.
Generating Data Matrix In Visual Basic .NET
Using Barcode creator for .NET Control to generate, create DataMatrix image in .NET applications.
www.OnBarcode.com
PDF 417 Drawer In .NET Framework
Using Barcode printer for ASP.NET Control to generate, create PDF 417 image in ASP.NET applications.
www.OnBarcode.com
You don't see the value LocalizedString in some class registrations. The absence of this value indicates that Microsoft didn't intend to display the names of those objects in the user interface. To rename a class that doesn't contain this value, change the default value of HKCR\CLSID\ classID or better yet, add LocalizedString to it. When Windows XP looks for an object's name, it looks first for LocalizedString and second for the class registration's default value.
Drawing QR Code In VS .NET
Using Barcode creator for ASP.NET Control to generate, create QR image in ASP.NET applications.
www.OnBarcode.com
Bar Code Generator In Visual Studio .NET
Using Barcode encoder for ASP.NET Control to generate, create bar code image in ASP.NET applications.
www.OnBarcode.com
Using Custom Icon Images
Bar Code Drawer In .NET Framework
Using Barcode encoder for ASP.NET Control to generate, create barcode image in ASP.NET applications.
www.OnBarcode.com
Barcode Drawer In Visual Studio .NET
Using Barcode generation for ASP.NET Control to generate, create barcode image in ASP.NET applications.
www.OnBarcode.com
Each class registration you see in Table 4 2 contains the subkey DefaultIcon. This subkey's default value is the icon that Windows XP uses when it displays objects based on that class. For example, the default value of DefaultIcon in HKCR\CLSID\{20D04FE0 3AEA 1069 A2D8 08002B30309D} is the icon that Windows XP displays when it creates the My Computer object in the user interface, such as in Windows Explorer or on the desktop. To use a different icon, change the default value of DefaultIcon. You can use the path and file name of an icon file, which has the .ico extension, or you can use a resource path. A resource path is either Name, Index or Name, resID. Name is the path and name of the file containing the icon, which is usually a DLL or EXE file. Most of the icons that Windows XP uses come from %SystemRoot%\System32\Shell32.dll. Index is the index number of the icon, beginning with 0. resID is the resource identifier of the icon. Programmers assign resource IDs to resources they store in program files, including icons, strings, dialog boxes, and so on. Tip My favorite tool for finding icons in program files is PE Explorer from Heaven Tools. You can download an evaluation copy from the Web site at http://www.heaventools.com. This tool will even extract all the icons from DLL and EXE files so that you can use them individually.
GTIN - 12 Generation In .NET
Using Barcode generation for ASP.NET Control to generate, create UPC-A Supplement 2 image in ASP.NET applications.
www.OnBarcode.com
Generate Code11 In VS .NET
Using Barcode generation for ASP.NET Control to generate, create Code11 image in ASP.NET applications.
www.OnBarcode.com
Adding Desktop Icons
Making UPC-A Supplement 5 In VS .NET
Using Barcode encoder for Reporting Service Control to generate, create GS1 - 12 image in Reporting Service applications.
www.OnBarcode.com
Paint EAN128 In Java
Using Barcode maker for Java Control to generate, create EAN / UCC - 14 image in Java applications.
www.OnBarcode.com
Windows XP has a much cleaner desktop than earlier versions of Windows. By default, you see only the Recycle Bin icon. You can add the typical icons, though: On the Display Properties dialog box's Desktop tab, click Customize Desktop. In the Desktop Items dialog box, choose the icons you want to display on the desktop. The icons you can add are My Documents, My Computer, My Network Places, and Internet Explorer. To open the Display Properties dialog box, click Start, Control Panel, Appearance And Themes, and then click Display.
Encoding Barcode In Java
Using Barcode creator for Android Control to generate, create bar code image in Android applications.
www.OnBarcode.com
Printing 1D Barcode In Visual Studio .NET
Using Barcode creator for VS .NET Control to generate, create 1D Barcode image in .NET framework applications.
www.OnBarcode.com
If the icon you want to add isn't one of those four choices, if you want to script these changes, or if you want to add icons to other special folders, you must edit the registry. All the hacks you learn about in this section are in the branch SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer. Change this branch in HKLM to affect all users; change it in HKCU to affect an individual user. Figure 4 2 shows the contents of this branch.
UPC-A Generator In .NET
Using Barcode drawer for Visual Studio .NET Control to generate, create GTIN - 12 image in VS .NET applications.
www.OnBarcode.com
Draw EAN-13 Supplement 5 In None
Using Barcode printer for Font Control to generate, create UPC - 13 image in Font applications.
www.OnBarcode.com
Figure 4 2: The NameSpace subkeys of Explorer\ControlPanel, Explorer\Desktop, and Explorer\MyComputer determine the contents of each corresponding folder. You add icons to Control Panel, the desktop, and so on by editing the subkeys indicated in Table 4 3. Create a new subkey in NameSpace and name it the class ID of the object you want to add. For example, to add an icon to the desktop that opens the Run dialog box (see Table 4 2), add a new subkey called {2559A1F3 21D7 11D4 BDAF 00C04F60B9F0} to Desktop\Namespace. Then refresh the desktop by clicking it and pressing F5. As shown in Figure 4 3 on the next page, you can add folders to My Computer, too. In this case, I added the Administrative Tools and Network Connections folders to My Computer. Only folder objects are good candidates for My Computer, so pick class IDs from the first two sections of Table 4 1. Add class IDs from the last two sections of the table, and you'll see only those objects in the right pane of Windows Explorer. Objects based on classes in the second and third sections of Table 4 1 are good choices for Control Panel.
ANSI/AIM Code 128 Reader In C#
Using Barcode scanner for .NET framework Control to read, scan read, scan image in .NET framework applications.
www.OnBarcode.com
Bar Code Maker In VS .NET
Using Barcode generator for VS .NET Control to generate, create bar code image in VS .NET applications.
www.OnBarcode.com
Figure 4 3: By editing the registry, you can reorganize the contents of Windows Explorer. Table 4 3: NameSpace Subkeys 84
Copyright © OnBarcode.com . All rights reserved.