Solved

Recreating missing .resx form?

Posted on 2004-04-19
2
949 Views
Last Modified: 2007-12-19
If I am missing the resx file to a corresponding Control that I have the C# source code to, is there a way to regenerate it somehow?
0
Comment
Question by:jjacksn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 4

Expert Comment

by:NTAC
ID: 10869965
Did you ever have it in the first place?  If so, you can use the resgen tool to recreate it using the .resources file (should be in your debug/bin directory).  

If you never had it in the first place, create an empty solution and add your *.cs file to it.  You should be able to compile get most of the stuff back.  Some things like images don't come back, but they are easy enought to add.

Regards,
NTAC
0
 
LVL 4

Accepted Solution

by:
NTAC earned 500 total points
ID: 10871062
In my first choice, here is how you run resgen

The resgen is in the directory:
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin\Resgen.exe

You run it like
> resgen inputfile.resources outputfile.resx

Works fine for me
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question