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

Resource Editor for VS.NET 2003

By , 30 Mar 2004
 

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 :))
  • 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 :). 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. :))

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

About the Author

Gaston
Web Developer
Uruguay Uruguay
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Question_UnmanagedMemoryStream not possible to save?memberCampri8 Aug '07 - 0:38 
GeneralA resource editor in C# 2.0member.NET slave25 Mar '06 - 7:33 
QuestionResource Not Found ?memberRedaemon23 Oct '05 - 6:31 
I have create resource file .resx and insert it into my project using embedded resource build action. But when i try to access the resource using other application (i found the application here too), it seem the library containt no resource. I don't know how to set up resource file into library project so that the resource file integrate or embedded with my library that i build. If you have any ways to setup resource to be integrate or embedded with library please tell me.
Thank's
GeneralStrange behaviour with Compact Framework projectsmemberlonifasiko25 Aug '05 - 21:00 
GeneralTo install it and use.memberfanfan9517 May '05 - 5:05 
GeneralResource renamememberdev_kh30 Sep '04 - 4:30 
GeneralRe: Resource renamememberdev_kh1 Oct '04 - 4:14 
GeneralRe: Resource renamememberGaston1 Oct '04 - 5:59 
GeneralRe: Resource renamememberdev_kh1 Oct '04 - 6:05 
GeneralRe: Resource renamememberdev_kh4 Oct '04 - 6:35 
GeneralRe: Resource renamememberGaston12 Nov '04 - 6:44 
GeneralNew VersionmemberGaston21 Apr '04 - 2:41 
GeneralGreat jobmemberNic Gorleer6 Apr '04 - 21:24 
GeneralRe: Great jobmemberGaston7 Apr '04 - 1:55 
GeneralRe: Great jobsussGünter Szolderits21 Apr '04 - 1:50 
GeneralRe: Great jobmemberAlexLennon9 May '04 - 21:02 
GeneralRe: Great jobsusswardk2 Jun '05 - 4:42 
GeneralLinks are deadmemberMike Wild31 Mar '04 - 21:34 
GeneralRe: Links are deadmemberGaston1 Apr '04 - 1:01 

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

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 31 Mar 2004
Article Copyright 2004 by Gaston
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid