03-28-2002, 11:18 AM
Ok i got a ressource file....
everything working perfectly but the only problem is that i wanna know if there is a possibility to give the user the choice of the langage...
cuz i know a few people that have windows in french but they prefer to have there application in english...
03-28-2002, 04:23 PM
Yes, you have to create several string tables within your RES file containing all the strings you want translated. Then, add a menu option or a command button in your app somewhere, and when its clicked load the appropriate strings from the RES file.
03-28-2002, 06:03 PM
Ok and another thing...
i dunno if it happen to you guy but i can only edit the .res file in visual C/C++
i only could of edit it once in VB and after that, well now when i double click on the .res file in VB it does nothing...
it more like if the windows of the .res file appear out of my screen...
does anyone know how to fix that...
i'm gonna take a look in the registry of the application....
03-28-2002, 06:15 PM
ok well i deleted the registry but didn't change nothing anyway i'm gonna use C/C++ to edit that ressource file...
03-29-2002, 04:57 AM
A RES file is compiled, and once its compiled its just a whole load of binary, so VB can't edit it as VC++ can.
You can change it in VC++ because (I'm assuming) it has a kind of project file stored, which when you make changes to it will recompile it automatically behind the scenes.
03-29-2002, 11:01 AM
The Resource editor in VB should have no problems editing the
.RES file attached to a project, no matter how many times the
project has been compiled. If you created the .RES file from VC++
to begin with, it is possible that the VB Resource editor wouldn't
completely understand the format, but even that is a bit hard to
If you want to work with your .res file with a text editor or with code, save it as .rc file in VC++
You will easily see where the text strings have to be changed.
After changes are done, you can re-edit it in VC and recompile it