C# Win Form Spell Checker .Net 3.5 - c#

I'm looking to implement a spell checker on my win form app. The app need to be built in .Net 3.5 and I'm struggling to figure out what I need to do. I walked through an example of importing a Windows Presentation Form control that did this perfectly, but that control is only available in .Net 4 Framework.
Can anybody point me in the right direction on this please? I'm only using this control for the one richTextBox, so i dont want to spend too much time on this one element of my project.
Thanks

Add a TextBox to your form
In the XAML tab, add the following code between TextBox tags:
SpellCheck.IsEnabled = "True"
You can add the same code in the standard C# code window. Just enter:
textBox1.SpellCheck.IsEnabled = true;
3.Now, launch the application.
If you enter incorrect words, these are underlined in red. If you right-click the word, you get some spelling suggestions to correct.
I hope, thats what u wanted.

Hope these links may help you
http://coolthingoftheday.blogspot.com/2010/02/spell-check-enable-your-winform.html
http://www.codeproject.com/Articles/5277/NetSpell-Spell-Checker-for-NET

Related

C# - How to display a help file with help provider?

I'm experimenting with help files and help-providers.
My issue is I cannot display the help file without conflicting with other help-provider code.
helpProvider1.SetShowHelp(btnFont, true);
helpProvider1.SetHelpString(btnFont, "Change the font.");
helpProvider1.HelpNamespace = "helpfile.chm";
The HelpNamespace property takes precedence over the SetHelpString method, but I still want to display these help strings.
Is the only option to use another hotkey?
Windows Forms supports "What's this .." help on individual controls (Pop-up Help). The HELP button makes sense on dialog boxes, because modal dialog boxes need to be closed before focus can go to another window. I think it's not a problem for you to translate the following samples from VB to C# (some old stuff but HTH). All this has a learn curve of course.
See Creating Pop-up Help for Visual Basic .NET controls
Please note: The Windows Forms HelpProvider component is used to associate HTML Help files (HTMLHelp 1.x, Help 2.x or single HTML file) with your Windows application. The HelpString property can be used to show Pop-Up Help but you must set the HelpNamespace property of hlpProvider1 (see HTML Help). If there is no filename and the user hits F1 the application runs to an error.
For further information see also Compiled HTML Help file shows "This program cannot display...", when pressing F1 on the debugged application.

How to control a winforms application using another?

I have a winforms Application 1 which looks like this:
This application is already built so I can't change its source code.
I want to write another winforms application, which can run hidden and auto fill that textbox in Application 1 then click the button.
But I don't know where to start. I Hope you can help me with some keyword, or technique that I can use in this situation. Thank you.
I found a good example that can solve my problem and easily to understand
http://www.codeproject.com/Articles/33049/WPF-UI-Automation

Not getting tootip for devexpress form

Hi all,
Please help me,
i have already attached screen shot for problem
Screen 1:
on windows 7 if run cmd or Firefox or vs 2012 and on task bar on mouse hover it shows tool tip on top.
Screen 2:
but if we run any devexpress form then it is not showing tooltip for form .
please help me for the same. is their any property need to set or is their any code for that.
please help me.
Thanks in advanced.
Go to design view, select properties toolbar and look for Text and TitleText.
The same goes for WinForms with the exclusion of TitleText which is added by DevExpress.
The tooltip is automatic. It displays the window's title/caption. If your window does not have a title/caption, then nothing will be displayed.
To fix it, set a title/caption for your window. I'd tell you exactly how to do it, but the DevExpress online documentation is terrible and your question doesn't say which of their packages you're actually using.

Where can i get the source code for VNC in DOtnet c#?

My requirement is to remove the menu bar of TightVNC Viewer, because i dont want the user to use any of them in menu bar. For which i need the source code of TightVNC, so that i can
remove or disable the menu bar in UI Form. Can i get the source code in c# and i want to
open the project in Visual studio Dot Net and change the form. Or any other ideas for removing the menu bar will be helpful. Thanks.
The source code off the TightVNC website is C++.
If you're looking specifically for C#, there's an open-source C# VNC client on Sourceforge, here.
you can download from the .Net based open source project at Sourcefourge. here is the link
http://dotnetvnc.sourceforge.net/
Just grab the source code off the website.
I know this is an old question, but if someone is still searching for a .NET VncViewer, VnC# is a good source code sample.

How to setup feedback link on Windows Forms caption using C#?

I would like to setup Feedback link on every windows form, so that user can send suggestion about design, functionality etc.. using C# (.NET 3.5) but I could not find solution.
Any help or suggestion will be appreciated.
On every form? You could create a "FeedbackLink" UserControl, and place that whereever you like. I wouldn't recommend trying to do it as a clever blanket-thing, because you can never assume the place you want the feedback hyperlink won't be used by something else.
My suggestion would actually be to add it to the "Help" menu on your main form, and possibly in some kind of (very intrusive) pop-up dialog. Maybe do it the way Visual Studio tackles it - by putting an icon in the systray with a bubble that pops up for the user to click on?
Example image (might take a second or two to appear):
Example http://www.freeimagehosting.net/uploads/b7939d58ae.png

Categories