Regenerating a *.resx file?

J

John Veldthuis

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.
 
C

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top