|
|
Hi Guys, In my project i use Typed DataSource. I am new to .NET, i want to filter my data from
SOL database. My SQL Table contains StudentName and StudentID. I want to retrive student name using his/her id, but i dont know how to do it...
|
|
|
|
|
|
Hi All,
I have an existing VS 2005 c#.NET application created. What I want to do is add spell check functionality to the RichTextBox fields etc. I read that .NET Framework 3.5 and 4.0 have a built-in spell checker.
I downloaded and installed .NET Framework 4.0 and already had 3.5 installed on my Windows XP SP3 machine.
The problem I'm having is when I right-click "References" in VS and choose "Add Reference" I don't see the option "System.Windows.Controls" in the .NET list, which is where I believe the SpellCheck control can be accessed from.
Is there a way for me to change the default .NET Framework used by VS 2005 to .NET Framework 3.5 or 4.0?
Any help with this would be really appreciated.
Thank you,
Mel
|
|
|
|
|
Hi,
1.
there must be several solutions for spell checking in .NET; did you search any? Here[^] is one of the relevant CP articles.
2.
The original Visual Studio 2005 was the last edition targetting a single .NET framework version (2.0); with extensions for 3.0 it also targets 3.0; it takes VS 2008 or 2010 to target multiple frameworks, however never a more recent one than the VS edition itself.
|
|
|
|
|
Yes I did carry out several searches before posting this question, that is how I found out that the .NET Framework 3.5 and 4.0 have a built-in spellCheck control. Thanks for the link I will take a look at it.
I also have VS 2008 installed on my machine Win xp SP3, and the target .NET Framework there is 3.5, however, I still don't see System.Windows.Controls when trying to add a reference. Do you know the reason for this?
Thank you,
Mel
|
|
|
|
|
I don't know.
Does this[^] help? As always, MSDN documentation mentions namespace and DLL name.
|
|
|
|
|
Thanks for the reply Luc. That's funny, that was the site that I origionaly got from information from. I'll take a closer look to see if I can get any more out of it.
|
|
|
|
|
First of all - the framework doesn't have built in spell check functionality. The WPF textbox provides this functionality.
Secondly, you can't target post .NET 2 from VS 2005. You can always download something like Visual C# Express 2010 if you want to use a later version of the framework.
Alternatively, you can download and use nhunspell (there are articles here on Code Project about this).
|
|
|
|
|
Ha, thanks for that Pete, so my problem with VS 2008 is that I haven't added the PresentationFramework.dll I assume.
|
|
|
|
|
I'm going to read up nhunspell thanks. Would you recomend this over the WPF textbox functionality?
|
|
|
|
|
|
Thanks. I'm sorry but what are the benifits?
|
|
|
|
|
The built in spell checker is limited in the choices of languages it supports - it's not extensible. Contrary to popular opinion, it's not the Office spell checker. NHunspell makes use of the Open Office dictionaries and, if memory serves, it also allows you to perform Thesaurus functions.
|
|
|
|
|
Hi Pete,
Thank you for your feedback. I'm going to start working on incorporating the Hunspell functions into our code.
Thank you again,
Mel
|
|
|
|
|
|
|
Sir,
how can i use gmail,hotmail,rediffmail, etc message access in single page itself, what algo or method i should use????
|
|
|
|
|
You need to build a web page that allows you to talk to the API provided by each of them individually.
Check their websites.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
hi , please tell me a statement that I can write in my program for which static code analysis will show an error.
Right now, what ever I am trying "run code analysis ..." is giving zero errors
Regards,
NetQuestions
|
|
|
|
|
The question you should be asking is why static code should be throwing an error in analysis at all? If static methods don't break or throw errors during compile, then they can essentially be treated as any other instance method. I'm curious, why would you want them to error?
|
|
|
|
|
static code analysis means you (or a tool you're using) are looking at your source code, trying to figure out something, such as complexity, test coverage, style, etc. So if your code compiles, the only error you can get from static analysis is when you have set some go/no-go criteria and your code fails one of them.
If that is too vague, then so is your question.
BTW: I'm not even sure you're asking in the right forum.
|
|
|
|
|
Hi,
This is regarding VSTS integration.
Please help me out with link to any blog / article which explains how in steps I can use VSTS 2010 to
1. create sequence diagram and import it to visual studio
2. Add a task using Visual studio, then import it using xls, add a task in xls and then publish it to TFS.
3. I am seeing examples on how to take build using TFS. But how do I use a build?
Please help me out with links with an example for each.
Regards,
NetQuestions
|
|
|
|
|
Hi all,
i have a application which takes the .csproj file and builds it using the Msbuild Engine that .NET provides.
http://msdn.microsoft.com/en-us/library/microsoft.build.buildengine.engine.buildprojectfile.aspx[^]
have the code from here.
what i want now is that whatever build process that is logged in the log file needs to be shown in the text box on the fly when the building is in process.(ie the text box should behave like the console window)
(when we build using the MSVisual Studio command prompt then on the console build messages are shown)
can some one help or throw some info on this
Thanks & Regards
Sandeep
|
|
|
|
|
You have posted this question in the question answer section too.
Could you please refrain from cross-posting?
Thanks.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|