Click here to Skip to main content
15,923,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to scale a remoting application? Pin
mav.northwind18-Jan-08 19:37
mav.northwind18-Jan-08 19:37 
GeneralRe: How to scale a remoting application? Pin
martin_hughes19-Jan-08 1:58
martin_hughes19-Jan-08 1:58 
GeneralAdd a new Language to my program Pin
anderslundsgard17-Jan-08 21:14
anderslundsgard17-Jan-08 21:14 
GeneralRe: Add a new Language to my program Pin
imsathy17-Jan-08 22:22
imsathy17-Jan-08 22:22 
GeneralRe: Add a new Language to my program Pin
anderslundsgard17-Jan-08 22:36
anderslundsgard17-Jan-08 22:36 
GeneralRe: Add a new Language to my program Pin
imsathy17-Jan-08 22:53
imsathy17-Jan-08 22:53 
GeneralRe: Add a new Language to my program Pin
anderslundsgard17-Jan-08 23:27
anderslundsgard17-Jan-08 23:27 
GeneralRe: Add a new Language to my program Pin
Russell Jones18-Jan-08 2:51
Russell Jones18-Jan-08 2:51 
the easiest way is using resource files and then option 1 will be handled automagically if you set it up right.

I worked on a project nearly 10 years ago which used VB6 and we created a table in the application database that stored the language the labelname, the formname and the translation.

In the form load event we called a TranslateLabels function and passed me (this) as a parameter. As we were doing this to every form i think we kept the recordset of data for the current country in memory. If the user switched languages while the app was running we reloaded the data for the new language, looped through the collection of open forms and passed them back into the TranslateLabels function. Messageboxes etc were translated by a translatestring function that was also on the object.

Russ
GeneralRe: Add a new Language to my program Pin
anderslundsgard18-Jan-08 2:56
anderslundsgard18-Jan-08 2:56 
GeneralRe: Add a new Language to my program Pin
Russell Jones18-Jan-08 3:16
Russell Jones18-Jan-08 3:16 
QuestionRemoting ? Pin
Eike Mueller17-Jan-08 20:46
Eike Mueller17-Jan-08 20:46 
AnswerRe: Remoting ? Pin
led mike18-Jan-08 6:43
led mike18-Jan-08 6:43 
GeneralRe: Remoting ? Pin
Eike Mueller20-Jan-08 0:06
Eike Mueller20-Jan-08 0:06 
GeneralRe: Remoting ? Pin
led mike22-Jan-08 5:03
led mike22-Jan-08 5:03 
GeneralRe: Remoting ? Pin
Eike Mueller22-Jan-08 21:16
Eike Mueller22-Jan-08 21:16 
GeneralRe: Remoting ? Pin
led mike23-Jan-08 5:46
led mike23-Jan-08 5:46 
Generalstartup a WinForm program by code Pin
jason_mf17-Jan-08 19:58
jason_mf17-Jan-08 19:58 
GeneralRe: startup a WinForm program by code Pin
Adeel Chaudhry17-Jan-08 20:01
Adeel Chaudhry17-Jan-08 20:01 
GeneralRe: startup a WinForm program by code Pin
jason_mf17-Jan-08 20:09
jason_mf17-Jan-08 20:09 
GeneralRe: startup a WinForm program by code Pin
Adeel Chaudhry17-Jan-08 20:17
Adeel Chaudhry17-Jan-08 20:17 
GeneralRe: startup a WinForm program by code Pin
jason_mf17-Jan-08 20:22
jason_mf17-Jan-08 20:22 
GeneralRe: startup a WinForm program by code Pin
Adeel Chaudhry17-Jan-08 20:24
Adeel Chaudhry17-Jan-08 20:24 
GeneralRe: startup a WinForm program by code Pin
jason_mf17-Jan-08 20:30
jason_mf17-Jan-08 20:30 
GeneralRe: startup a WinForm program by code Pin
Adeel Chaudhry17-Jan-08 20:35
Adeel Chaudhry17-Jan-08 20:35 
GeneralRe: startup a WinForm program by code Pin
jason_mf17-Jan-08 20:55
jason_mf17-Jan-08 20:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.