English

How To: Display a custom image in the Select Image browser in Visual Studio (.NET ADF)

Summary

Instructions provided describe how to have the Select Image browser display custom images. The Toolbar Collection Editor in the .NET ADF allows the user to select custom images to display on toolbar items.

Procedure

Follow the steps below.

  1. Place, using Windows Explorer, the custom image file in the IMAGES directory of the Visual Studio project.
  2. Open, in Visual Studio, the projects Solution Explorer browser.
  3. Right-click the IMAGES folder and select Add > Add Existing Item.
    [O-Image] Add Existing Item
  4. Change the 'Files as type' filter at the bottom to 'All files (*.*)'.
  5. Select the custom image to be added to the project and click Open.
  6. Open the Toolbar Collection Editor and open the Select Image browser.
  7. Select, in the Project tree on the left, the IMAGES folder. The Contents panel on the right now lists the new custom image that can now be used for the toolbar item.
    [O-Image] Select Image Dialog