Anybody know how to create and use text resource files under .net?
We write bilingual software. Under vb6 we did this sort of thing:
Language.bas
VB Code:
Option Explicit Public Const L0_THANKS = "Thanks" Public Const L1_THANKS = "Merci"
Form.frm
VB Code:
Label1 = iif(LangNo=1, L1_THANKS, L0_THANKS)
Very clunky, I know - but it was a port of a very early VB application and it at least gave us the advantage of having all the text in one place, so we could just send that one file to the translator, without letting our source code out.
I understand there is now an 'official' way to do this sort of thing with resource files, but most of the critical documentation in the beta help files seems to be blank pages.
Any ideas or suggestions?


Reply With Quote