.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Spellchecker.suggestions language incorrect

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :WPF
Hi, I have a problem with the suggestions given by a SpellingError. It returns French suggestions (my computer uses French settings) even if I set the textBox's language to "en-us"...   // Creating textbox XmlLanguage XmlLanguage = XmlLanguage.GetLanguage("en-us"); TextBox textBox = new TextBox {UndoLimit = 0, Language = XmlLanguage}; textBox.SpellCheck.IsEnabled = true; // Later, in a method to get suggestions (to create a custom context menu)... SpellingError spellingError = textBox.GetSpellingError(offset); if (spellingError == null) return new List<string>(); return new List<string>(spellingError.Suggestions); Is there anything else I could try?   Thank you, Marie  

View Complete Post

More Related Resource Links

Incorrect TextBox autocomplete suggestions



I have something that looks like a TextBox bug. It appears when TextBox shows autocomplete suggestions for items which contain dashes "-".

Here is my autocomplete source:




I set it on the property panel. Designer code:

Me.TextBox2.AutoCompleteCustomSource.AddRange(New String() {"34534535345", "-", "----", "11-g", "11--g", "--11j", "1g-", "1gf-asd871-hdaksu", "1gg-", "1-g-o-p-a", 

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Multi-threading in .NET: Introduction and suggestions

This article uses the C# type shorthands throughout - int for Int32 etc. I hope this makes it easier for C# developers to read, and won't impede any other developers too much. It also only talks about the C# ways of declaring variables to be volatile and locking monitors. Developers using other languages can find the equivalents in their own preferred environment, I'm sure.

New Language features in .NET4.0

The site explains the new features and enhancement to VB.NET and C# in .NET framework 4.0. The new enhancements are described in detail with examples and code snippets. One can easily understand the new features from this site. This is a must visit site for every .NET professional.

How to Localize Windows Forms and Change the Language at Runtime

Localization is the process of customizing your application to a particular language, culture or locale. Visual Studio provides support for localizing Windows Forms with much ease. In this article, we will see how to localize windows forms and give the user the ability to change to his preferred language at runtime.
When you run a localized application, the appearance is determined by two culture values. The UICulture property is used to specify which resource files will be loaded for the form. The Culture property, on the other hand, determines how strings such as dates, numerals, and currency amounts are formatted.
Let us see the steps required to create a localized form. You can then expand this example and adopt the same approach for the rest of the forms in your project

Voice eXtensible Markup Language


This document specifies VoiceXML, the Voice Extensible Markup Language. VoiceXML is designed for creating audio dialogs that feature synthesized speech, digitized audio, recognition of spoken and DTMF key input, recording of spoken input, telephony, and mixed-initiative conversations. Its major goal is to bring the advantages of web-based development and content delivery to interactive voice response applications.
Status of This Document

This document is a submission to the World Wide Web Consortium from the VoiceXML Forum (see Submission Request, W3C Staff Comment). For a full list of all acknowledged Submission, please see Acknowledged Submissions to W3C.

This document is a Note made available by W3C for discussion only. This work does not imply endorsement by, or the consensus of the W3C membership, nor that W3C has, is, or will be allocating any resources to the issues addressed by the Note. This document is a work in progress and may be updated, replaced, or rendered obsolete by other documents at any time.

Need suggestions on Online Exam Application



I am thinking about creating an online exam application  using asp.net + C # and Server. To do this need some suggestion and help from experts.

My requirements are:-


  1. All Questions and answers will be stored in sql server database.
  2. Questions should be choose randomly for each candidate.
    • What method should I use to choose the questions randomly?
  3. If anything  happened unexpectedly and application get closed during the online exam .I need to get the same group of questions for the specific candidate
    • How can we handle these kind of situation

Language Localization



I want to make my website into world's different  laguages.Im very new to it .

plz help

Change Button Text in Multi Language Website


Hi i developing multi language website

using Master pages

everything fine

Page_Load i set the Text property of Button Control from Resource file

like this

Button1.Text = GetLocalResourceObject("Button1")

then in the button click event i cnage the text of the Button control

Button1.Text = GetLocalResourceObject("Button1_new")

but the text doesn't change and no error messgae

what is the problem how to solve this


Problem with changing language using culture info


I'm using the following msdn article to use different languages in my web application:


I'm following the instructions step by step in VS 2010, and it creates the resource files exactly how it's supposed to. 

However, when I run the program it just doesn't apply it. I don't see the different values from the resource file. 

If I leave my resource file name as sample.aspx.resx, it works. But when I change it to sample.aspx.en-us.resx, it doesn't work. I'm supplying culture from the aspx page's Culter and UICulture properties. I'm being very careful in choosing the correct file name, as that could be the issue,  but it just doesn't work. I also tried changing the culture in the backend code this way:

For Multi-Language website which process is better in asp.net


 I want to build multi-language website in asp.net 2008 and asp.net 2010. So, which process is better for building application? Using either Local and Global Resource or New Folder to make separate according to language?


Application performance should be good and also easy manageable.


Please suggest me in which way I will build the application either using resource or folder. If there is any other better solution then please share.

What is the best language?

I bet this is going to stir some people up ;)

What is the best language to use with .NET? Now personally, I am a VB kind of guy because of ASP, but have done some C++ in the past (the real simple stuff, like what you first learn in a high school ap comp sci class). One thing I've noticed is most of the more advanced samples and articles online are done in C#. What is so great about C#, vs VB and C++? I've heard C# executes faster than VB, but would that only apply to the first time the page is compiled, because isn't it also true that each time a page is accessed after it has been compiled it is done so in the CLR? So then, does it not matter what language a given page is in? Now my understanding on the speed of a page execution is not necessarily the language, but rather how much data the processor has to go through. VB has longer and more words than say C++ or C#. Does it make that much of a difference?

Is VB designed more for the hobbyist or beginner, and C# more for the enterprise level guys?

Also, is VB or C++ destined for death in future versions of .NET? I mean, C# is new, but looks a lot like C++, so then is C++ not going to be supported in the future?

Just some thoughts from a loley VB programmer getting tired of translating from C# ;).

Toolbox: Managing in the Cloud, UX Design Patterns, Anders Hejlsberg's The C# Programming Language,


Now that you're even managing projects in the cloud, you'll need some tools to help. This month we illustrate one, discuss UX design patterns, a book by Anders Hejlsberg, and more.

Scott Mitchell

MSDN Magazine June 2009

Roll Your Own: Create a Language Compiler for the .NET Framework


Joel Pobar presents an introduction to how compilers work and how you can write your own compiler to target the .NET Framework.

Joel Pobar

MSDN Magazine February 2008

Editor's Note: Overcoming Language Barriers with Elegant Design


This month Howard Dierking explains why the choice of a programming language can be a personal one.

Howard Dierking

MSDN Magazine February 2008

CLR Inside Out: IronPython and the Dynamic Language Runtime


This column uses the .NET version of the Python programming languages IronPython to demonstrate the value of dynamic languages and the new Dynamic Language Runtime.

Bill Chiles

MSDN Magazine October 2007

C++: Write Faster Code with the Modern Language Features of Visual C++ 2005


The next version of Visual C++ has a new syntax that is both elegant and powerful. It has new optimization technology that has improved the speed of Microsoft. It has new compilation modes that ensure Common Language Infrastructure compliance and verifiability for the .NET Framework, and it has new models for interop. In this article Stephen Toub explains these and other improvements to Visual C++.

Stephen Toub

MSDN Magazine May 2004

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend