|
Ted On The Net wrote: Perhaps there is a way to achieve this using localization?
I think that is the easiest aproach. But if you want end-users to translate your app, you would need to create manualy (A Lot of work).
edit: typo
|
|
|
|
|
Normally localisation would be the best approach for this, however if you are letting the end users define their own labels etc. then I suggest adding a set of metadata management tables to your database, create some management dialogs and read all your label captions from the database. For best performance you will need to cache the metadata in memory for the duration of the application life-cycle.
|
|
|
|
|
sir/madam,
We are doing a project on "DESKTOP TWITTER ACCESS".please post your suggestions on how to create it.
Thank you.
|
|
|
|
|
Posting the question again won't make people answer it, not that you'll get any information from us with your "send me codez" attitude...Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL
you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
This is a simple 3 step process
1. Do some research
2. Do some codin'
3. GoTo 1
|
|
|
|
|
You missed a few steps:
2.1 Do some debugging
2.2 Do some more coding
2.3 Give up and learn to say "Do you want fries with that?"
Step 3 would not be needed You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace
C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy
|
|
|
|
|
|
You may want to start by having a quick read of the article[^] I wrote a while back on using Twitter from a WPF application using REST."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
|
Madhu2010Feb wrote: Can you please send sample questions to REMOVED E-MAIL.
Many of us have never used ASP.NET nor went to that exam, so whe do not know what kind of these question will be. The best bet is to know ASP.NET inside and out. And congratiolation for posting your email here, you yust got on a spam list.
Edit: I edited post, so that your email is not here, because you removed postmodified on Friday, February 26, 2010 2:36 AM
|
|
|
|
|
how to write data into a text file from a console application?
|
|
|
|
|
Maybe by using StreamWriter. On Codeproject there are a lot of articles with file reading and writing. Go out and search this site and if you can't find then start searching by using google.
|
|
|
|
|
sir/madam,
we are doing project on "DESKTOP TWITTER ACCESS".please post your suggestions on how to create it.
Thank you.
|
|
|
|
|
System.LiquidNitrogen Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL
you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
code for how to read a html file into console
|
|
|
|
|
ramyakrishna k wrote: code for how to read a html file into console
what? Why would you read html with graphic content and display into graphicless console
|
|
|
|
|
Console.WriteLine("a html file"); Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL
you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
Console.WriteLine(File.ReadAllText(filepath));
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.
|
|
|
|
|
Hi
I have 1 User Control (With 10 Labels)
when i click on each label i want to open different forms with same Mdi Parent..
i am using Usercontrol in eg(Root form)
when i click on Root form's Usercontrol (label1,2,3......and 10)
i want Mdi Parent as (Root - Mdi parent) for all lable clicks
Even though we are able to open different forms, but it is not opening as single form within a single MDI.
Thanks in advance..
-- Modified Friday, February 26, 2010 2:28 AM
|
|
|
|
|
|
I have a DataTable that has three columns, named “Department”, “Manager”, “Employee”
The data looks like:
Accounting – John M – Mark E
Accounting – John M – Jane E
Accounting – Tim M – Bob E
Sales – Tom M – Matt E
Sales – Phil M – Jill E
And I have three combo boxes that represent each column in the DataTable:
departmentComboBox
managerComboBox
employeeComboBox
and finally I have a BindingSource that is being bound to each combo box, with each combo box’s .DisplayMember set to the proper column name
My issue: Each combo box displays 5 items... meaning the departmentComboBox shows “Accounting” three times and “Sales” twice, and similar for the other two ComboBoxes.
How can I have each ComboBox display only the unique and appropriate items based on the BindingSource’s current position? So if the first row is my current position in the DataTable, the combo boxes should have:
departmentComboBox = {“Accounting”, “Sales” } (with “Accounting” selected)
managerComboBox = {“John M”, “Tim M”} (with “John M”) selected)
employeeComboBox = {“Mark E”, “Jane E”} (with “Mark E” selected)
The only way I’ve seen that I might be able to do this is by having three DataTables and create a relationship between each of them, but I was hoping there was a more direct way...
Thank you all for your time,
Matt
|
|
|
|
|
write your unique data display logic in event handler of DataBinding event. Thanks,
Arindam D Tewary
|
|
|
|
|
Are there any methods available in Diagnostics or other class that will output the function name when it is entered/left? I need to trace execution through some spaghetti code I've inherited, and I'm hoping to avoid hand-coding enter/leave WriteLines.
|
|
|
|
|
You could use the debug method.
For more information, see here[^].Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Hi,
Something like this should do the trick;
System.Diagnostics.Debug.WriteLine(
new System.Diagnostics.StackTrace().GetFrame(0).GetMethod().Name);
or, if you wanted to put this in a utility funtion;
public static string GetCurrentMethodName()
{
return new System.Diagnostics.StackTrace().GetFrame(1).GetMethod().Name;
}
You've already looked at log4net? I found it to be a real help, combined with OneNote I are Troll
|
|
|
|