473,320 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Regenerating a *.resx file?

I went to edit one of my forms last night and it said it was missing the resx file for it. Had a
look and sure enough it did. There did not seem to be a way to get the back again by regenerating
it. The project still ran fine and the form was still working fine but I could do nothing with it.

In the end I made a backup of the Project, opened the *.vb form file in Notepad, copied all the text
in there, re-opened the project in Visual Studio and deleted the form. I then created on named the
same and saved it and shut down VS. Went back and edited the form in Notepad again and deleted
everything in it and pasted the original stuff in from the other one.

Re-opened in VS and it opens exactly as it should and is editable, seems to work as it should.

Question is "Is this the proper way to do it and is it okay?"

I don't want to lose the lot.
Nov 21 '05 #1
1 10987
CT
That's one way of doing it. I had the same problem a while back myself, and
closed the solution in VS, removed the reference to the .resx file from the
project file (.vbproj) and reopened the project/solution in VS. That works.
:-)

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"John Veldthuis" <jo***@no.spamo.paradise.net.nz> wrote in message
news:72********************************@4ax.com...
I went to edit one of my forms last night and it said it was missing the
resx file for it. Had a
look and sure enough it did. There did not seem to be a way to get the
back again by regenerating
it. The project still ran fine and the form was still working fine but I
could do nothing with it.

In the end I made a backup of the Project, opened the *.vb form file in
Notepad, copied all the text
in there, re-opened the project in Visual Studio and deleted the form. I
then created on named the
same and saved it and shut down VS. Went back and edited the form in
Notepad again and deleted
everything in it and pasted the original stuff in from the other one.

Re-opened in VS and it opens exactly as it should and is editable, seems
to work as it should.

Question is "Is this the proper way to do it and is it okay?"

I don't want to lose the lot.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Buddy | last post by:
Hello, I need to know how can I generate a .resx file from code for different language culture. Basically the .resx file is in binary, is there anyway that I can generate a text file contains...
1
by: Dave Veeneman | last post by:
My form's resx file is losing resources that I have added with ResEditor.exe (the utility that ships with VS.Net. Here is what is happening: I add the icon to the .resx file with no problems. My...
0
by: David Krussow | last post by:
I had an aspx page (mypage.aspx) with a code behind file (mypage.aspx.cs) that in turn had a resx file (mypage.aspx.resx). I decided to create another aspx page (myotherpage.aspx) that would reuse...
6
by: dhnriverside | last post by:
Yup - I'm having one of those days! I've just deleted the wrong RESX file (ie one that was in use!) and now my project wont compile. How can I rebuild the resx file, or get it back!? (didnt go into...
0
by: prabhupr | last post by:
Hi Folks I'm currently working on a Localization+Globalization project; for this project, we need to generate ".Resx" files and we use "US English" Resx file as the base version, to compare the...
3
by: Brian | last post by:
I don't want an ResX file for each of my forms. I have a resources assembly and I put everything there. So, I delete the resx file that Visual Studio adds to forms. But, if I change a property...
0
by: Steave | last post by:
Hi, using Managed C++ (.Net 2.0), I want to embed some images within an executable using a .resX file, and upon an event (in this case a combo box changing), I want the picture box to update with a...
0
by: Rahul | last post by:
Hi I have a Project A that is being reffered by another WEB project Webber. In Project A i am using a resx file to store some information in it. I have m1de the Build Action of the Resx file to...
8
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.