Solved

Recreating missing .resx form?

Posted on 2004-04-19
2
936 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
  • 2
2 Comments
 
LVL 4

Expert Comment

by:NTAC
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now