Click here to Skip to main content
15,891,828 members
Home / Discussions / C#
   

C#

 
GeneralRe: Binding DataGrid with Database Pin
Heath Stewart20-Dec-04 22:13
protectorHeath Stewart20-Dec-04 22:13 
GeneralDisplay formatted xml document in richtextbox Pin
CNU20-Dec-04 20:50
CNU20-Dec-04 20:50 
GeneralTcpChannel and authentication Pin
Bjoern.adG20-Dec-04 20:39
Bjoern.adG20-Dec-04 20:39 
GeneralRe: TcpChannel and authentication Pin
Skynyrd20-Dec-04 21:06
Skynyrd20-Dec-04 21:06 
GeneralExtending Folder properties Pin
umeshb20-Dec-04 20:02
umeshb20-Dec-04 20:02 
GeneralRe: Extending Folder properties Pin
Heath Stewart20-Dec-04 21:58
protectorHeath Stewart20-Dec-04 21:58 
QuestionMultiligual and End-User defined labels...? Pin
Darren Weir20-Dec-04 18:35
Darren Weir20-Dec-04 18:35 
AnswerRe: Multiligual and End-User defined labels...? Pin
Sven Cipido20-Dec-04 20:29
Sven Cipido20-Dec-04 20:29 
Hi,

I can't help you for all your points. But for point 2 about using the locale-based dates/number formats.

You can use Globalization and Localization. The System.Globalization namespace provides you with a number of classes that allow you to retrieve, make use and change the culture that your application code i susing to format dates, numbers and strings. The culture is set cia the Regional options. Localization means that you make use of these settings within your application. Every culture is defined by a 2 letter lowercase language code followed by an optional 2 letter uppercase Country code (f.e. nl-BE represents the Belgium Dutch regional setting.

You can ask the info using the globalization namespace. Then you can use the CultureInfo class.

<br />
Me.Label1.Text = CultureInfo.CurrentCulture.Name<br />
Me.Label2.Text = CultureInfo.CurrentCulture.DisplayName<br />


For the other items, you should create an kind of admin screen, where your users can define their word. Save this to your XML file and read this XML file.

I prefer to define by meyself the possibilities. Create languege textfile with everything translated. Use then resgen.exe to create your resourcefiles of each text file.

You can also work with XML-based resource files.
For this create your project, right click to add a new item and choose an Assembly Resource File. Add one for every language support. These files are XML files. Your job is to store the resources (name/value) in the data element. You can do this directly or using a dataset. Again use resgen.

As you can see, all of them are using regen to compile theses resX files into binary resource files. Only the first option isn't doing this.

Hopes this helps you a bit.
GeneralRe: Multiligual and End-User defined labels...? Pin
Darren Weir20-Dec-04 23:42
Darren Weir20-Dec-04 23:42 
AnswerRe: Multiligual and End-User defined labels...? Pin
Heath Stewart20-Dec-04 21:46
protectorHeath Stewart20-Dec-04 21:46 
GeneralRe: Multiligual and End-User defined labels...? Pin
Darren Weir20-Dec-04 23:57
Darren Weir20-Dec-04 23:57 
GeneralRe: Multiligual and End-User defined labels...? Pin
Sven Cipido21-Dec-04 1:11
Sven Cipido21-Dec-04 1:11 
GeneralRe: Multiligual and End-User defined labels...? Pin
Heath Stewart21-Dec-04 7:46
protectorHeath Stewart21-Dec-04 7:46 
Generalon SQL Server CE Pin
ting66820-Dec-04 17:39
ting66820-Dec-04 17:39 
GeneralRe: on SQL Server CE Pin
Heath Stewart20-Dec-04 21:21
protectorHeath Stewart20-Dec-04 21:21 
GeneralExtend window control as custom control problem Pin
ting66820-Dec-04 17:19
ting66820-Dec-04 17:19 
GeneralRe: Extend window control as custom control problem Pin
Heath Stewart20-Dec-04 21:30
protectorHeath Stewart20-Dec-04 21:30 
GeneralPlatform independant... Pin
Malcolm Smart20-Dec-04 10:45
Malcolm Smart20-Dec-04 10:45 
GeneralRe: Platform independant... Pin
Nick Parker20-Dec-04 10:55
protectorNick Parker20-Dec-04 10:55 
GeneralSerializing the Forms Pin
Wail A.Salem20-Dec-04 10:28
Wail A.Salem20-Dec-04 10:28 
GeneralRe: Serializing the Forms Pin
Heath Stewart20-Dec-04 21:34
protectorHeath Stewart20-Dec-04 21:34 
GeneralDataGrid DoublClick dos'nt Response Pin
Wail A.Salem20-Dec-04 10:21
Wail A.Salem20-Dec-04 10:21 
GeneralRe: DataGrid DoublClick dos'nt Response Pin
Jay Shankar20-Dec-04 17:20
Jay Shankar20-Dec-04 17:20 
Generalwmi query related Pin
sujithapril20-Dec-04 8:53
sujithapril20-Dec-04 8:53 
GeneralRe: wmi query related Pin
Nick Parker20-Dec-04 10:06
protectorNick Parker20-Dec-04 10:06 

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.