Click here to Skip to main content
Click here to Skip to main content

Resource Editor for VS.NET 2003

, 30 Mar 2004
Rate this:
Please Sign up or sign in to vote.
A Resource Editor integrated on VS.NET 2003 using VSIPExtras.

Sample Image - ResourceEditor.jpg

Introduction

As we all know, working with image resources in .NET is hard. When I have a .resx file in my project, I find it difficult to update images, add new icons and so on, because the editor associated to .resx files is XML-based. So, for example, when I download a project from the Web and the project has a .resx file, I can't edit images easily.

Another problem for me is that there isn't an editor integrated on Visual Studio .NET. Then I have to switch application in order to edit a resx file. Even more difficult is to edit a .resources files.

A few days ago, Microsoft released VSIPExtras. Now everybody can develop a managed package integrated on Visual Studio. So I developed a package called ResourceEditor.

Features

  • Integrated on Visual Studio .NET 2003
  • Edit .resx and .resources files
  • Explore resources in .dll and .exe files, then for example, you can open and see the icons and bitmaps of any assembly. When a DLL or EXE file is opened, the editor automatically appends the .resx extension to the file.
  • Edit of bitmaps and icons using the default editors in VS.NET. (The default bitmap editor doesn't support more than 256 colors so that in these cases MS Paint is opened in order to edit the bitmap)
  • Additionally, edit imagelists, strings, etc.
  • You can add and delete bitmaps, icons and strings. (Bitmaps files are not locked in the file system after an add operation, try another resource editor and see if they have this feature Smile | :) )
  • Separate tabs for images, icons, strings.

How to use it?

Well, you have to install the MSI file and try it. If you want to know what exactly the setup does, you can take a look to this post in my weblog.

There were the times when the installation was manual Smile | :) . There isn't help integration, then don't worry about your VS help collection. After installing the MSI file, you have to use "Open with" if you want to open a file with this editor (I expect that you select it as your default editor for resx files in the future. Smile | :) )

The Code

It was developed using VSIPExtras (more info about VSIP and VSIPExtras on the new site).

The skeleton of the editor is generated by the Package Wizard of VSIPExtras. After all, that is just C# programming. Obviously, the source code is installed. You can see some aspects that you are interested in.

You can find:

  • Working with VSIPExtras, calling VS Services, editor interfaces.
  • Working with resources.
  • Working with the property grid.
  • Working with bitmaps and icons.

I don't want to explain any particular point in this article (may be in the future).

Requirements

If you want to compile the code, you need:

  • Framework 1.1
  • Visual Studio .NET 2003
  • VSIP SDK first and VSIPExtras

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Gaston
Web Developer
Uruguay Uruguay
No Biography provided

Comments and Discussions

 
Question_UnmanagedMemoryStream not possible to save? PinmemberCampri8-Aug-07 0:38 
GeneralA resource editor in C# 2.0 Pinmember.NET slave25-Mar-06 7:33 
QuestionResource Not Found ? PinmemberRedaemon23-Oct-05 6:31 
GeneralStrange behaviour with Compact Framework projects Pinmemberlonifasiko25-Aug-05 21:00 
GeneralTo install it and use. Pinmemberfanfan9517-May-05 5:05 
GeneralResource rename Pinmemberdev_kh30-Sep-04 4:30 
GeneralRe: Resource rename Pinmemberdev_kh1-Oct-04 4:14 
GeneralRe: Resource rename PinmemberGaston1-Oct-04 5:59 
GeneralRe: Resource rename Pinmemberdev_kh1-Oct-04 6:05 
GeneralRe: Resource rename Pinmemberdev_kh4-Oct-04 6:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.141015.1 | Last Updated 31 Mar 2004
Article Copyright 2004 by Gaston
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid