Chapter 29 Lost ControlsGraphics

 

Manually Placing the Icon on the Desktop

  1. Compile and run this project in the IDE (to make sure that all is well), Save All , then exit the IDE.

  2. Move to My Documents in the PC, then to Visual Studio 2005\Projects\DemosSourceCode\ProjectIcon\bin\debug, and highlight the ProjectIcon.exe file.

  3. Right-click on this file and click on Create Shortcut . The operating system will create a shortcut to ProjectIcon.exe in the same directory as the executable. Drag and drop this shortcut entry onto the desktop. The icon that is displayed is the one you created earlier in the Icon Editor.

Note  

In the next chapter, we discuss how to create an icon on one s desktop automatically, using C# code.

 


Unlocking Microsoft C# V 2.0 Programming Secrets
Unlocking Microsoft C# V 2.0 Programming Secrets (Wordware Applications Library)
ISBN: 1556220979
EAN: 2147483647
Year: 2005
Pages: 129

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net