TinyMCE like Richtext Editor for C# .NET? - c#

Is there a good Rich Text WYSISYG editor for C# Winform applications? Something like an embeddable wordpad?

We are using TextControl, it supports RTF, PDF DOC, DOCX an it's very easy to integrate.

You could use something from one of the major winforms framework people. I use DevExpress http://www.devexpress.com/, mostly because that also gets me Coderush and Refactor Pro at the same price.
Other options are Telerik, Infragistics, etc.
These are not free, but you get fantastic customer support. Even my non-priority questions are answered in hours, sometimes even on weekends. By answered I mean some kind of code sample showing how to accomplish a task or work around a bug till it gets fixed.
You can also test drive them before buying to make sure you like their environments and solutions.

You can use ckeditor http://ckeditor.com/.
The download package includes samples with "asp" samples that can be "adapted" for asp.net and a lots of examples of different implementations.
In the practice this editors works like a multiline "textBox" area on the server side returting to you the html source of the control.

I would recommend http://freetextbox.com/. It's free and many browsers support it (Internet Explorer 6,7,8,9, Firefox 1,2,3, Google Chrome 1,2,3,4,5 etc.).
They also have a demo and documentation to play with on their website. The community is not really active. But there are topics about installation help and son on. By the time of writing this post the last message at the forum was placed 3 days ago.

Related

get HTML page sources from multiple sites

There several websites that use AJAX to update the contents periodically and I would like to monitor them. That's why it is necessary to keep multiple webpage windows always open and to grab page sources periodically.
I am searching for an approach for getting HTML sources from these webpages! Could you recommend something? I need it for statistical analysis.
Here are my thoughts so far:
approach. Opening separate Chrome windows manually. Using Handles to find the window. The problem is that it is nearly impossible to grab the HTML of the webpage.. (except the rich text)
Approach. writing an extension for Chrome/Firefox and a C# program. Program will send requests to extension and the extension will return HTML contents of the webpage. That's the theory. Google didn't put my hopes high so I am not sure if that is possible...
Approach. The most realistic one. Using the embed browser such as CefSharp, Awesomium, etc.. But as I mentioned - they have to support multiple opened windows! Any problems here?
So, these are my thought after hours of study..
Personally I would love to implement approach 2 because it is the most awesome.. but others will do too. What would be the easiest and most bulletproof?
Additionaly I would love a feature to do some input operations in these windows. ex: Login/navigate.
If IE browser is an option, look at implementing a managed add-on that will allow you to hook into notifications when document is loaded, access to live DOM of the document, possibly notifications when DOM changes, and so on. The same can be done in FF/Chrome. With IE, look into IObjectWithSite COM interface. This article seems to be a decent tutorial, though I'm not vouching for its accuracy.

Using MS Word Templates to allow a user to fill out a report

I'm trying to create create a simple word template on the fly which would just contain text and a few text input fields and then open a new word document based on that template for the user to fill out. I don't think this would be too difficult using Word automation and C#, but I've never worked with Word's COM interface before.
Any links to examples or fresh examples on how to create a simple template with some text and a text input field and then how to open a document based on that template in C# would be greatly appreciated.
Thanks in advance!
I think "Office Interop" is the keyword you are looking for.
You'll find a starting point here: http://support.microsoft.com/kb/316384
Several drawbacks involved (for instance, installed Office on client machine required; not advisable to be run as a server process), but might do the job for your requirement.
I have done a fair amount of work with Word automation - though not really so much with tempates... My advice would be first of all to have a look at the documentation that ships with the product - which is a simple matter of editing a word macro, and pushing F1 in the code editor. I have found that to be a rich source of information...
The other piece of advice I would give you is to try recording a macro in Word that covers any task you want to do, and then inspecting the code that is generated. This has proven invaluable to me in getting stuff up and running quickly...
Hope this helps...
Martin.

Viewing Microsoft Office 2007/2010 files in C# winforms

I have read a lot of articles and SO quistions about this matter, yet, no appealing solution has come to my sight!
what i need basically is:Viewing MS office 2007/2010 documents in my winforms applicationEditing is not needed, however would be GREAT if could be provided
What i Tried:I tried to use a web browser control after setting the registary flags to open office docs in the same browser window rather than saving them on my machineI tried to use the Edraw Office viewer component, however, i can't buy licences to all the target users of my application and the trial version is annoying with the "buy the licence" msg boxes appearing whenever i open and close the applicationI also have seen this SO question How do I display office and/or pdf content on a windows form? and the answer is not bad, however, although i don't need the editing feature but i still would like to be able to copy text from the viewed document. i.e. this answer won't work well for me
A final note: Using a web browser component would be perfect as i'm using it already to view PDF/html/txt files and providing a functionality to make it work with MS office docs would make the application just what i hope for it to be!
I have already tried to use this article:
http://support.microsoft.com/kb/304662
but the web browser is still offering to save the file on my machine. :S
Any Suggestions?
I google a bit, and found DSOFrameer which was purposed for that, but found the project removed here is why Location of DSOFramer Download and this
this may be helpful

Free watermark for my wizards.Where can I find them?

I have written some wizards in c# and I would like to make look like more professional by adding some watermarks on the welcome and complete page.
I am struggling to find any source where I can download some free to use EG Database related watermarks that I can use in a Database script generator that I have written.
Any suggestions?
I am pretty useless at making them.
thanks
PS
Not sure where I should post it .I put under c# but again not sure
You can try to download watermark tools, these links might be helpful:
http://www.softpedia.com/get/Multimedia/Graphic/Graphic-Others/Fast-Watermark-Free.shtml
http://www.mydigitallife.info/2009/11/20/download-free-watermark-image-to-watermark-or-add-logo-to-photos-in-batch/
http://www.freedownloadscenter.com/Best/free-watermark.html
And you can search for more on Google. Don't forget to scan these tools for spyware, etc.
Or you can create your own watermark here: http://www.webwatermarks.com/
Please consider checking Google. When I looked up "Free Watermarks" there were several viable hits.
Also try looking into "Stock Photography" and some combination thereof with "Free Watermarks"

Rich Text Editor on a web page

I am trying to add a rich text editor in my web page where users can write reviews and format what they have written...something similar to the editor in which we write our posts on this site...
can anyone point me to the right direction regarding this...any tutorial that would help me build such a component...
Also i want a free product....(Forgot to mention earlier...)
Something in the likes of TinyMCE or FCKeditor, perhaps.
They're quite complete, and customisable.
The editor used on Stack Overflow is the WMD Editor.
The current version used on the site has been updated by Jeff Attwood and other site users and you can read about it here and get a copy of the code for your own site.
I think you'd be better off using (and perhaps modifying) an existing component rather than writing your own from scratch.
I've been using the Telerik r.a.d Editor, and been very happy with it.
after much research here is what i did...
i needed a control that was free and easy to use..all the editors that i went through came with a licence so i decided to make my own control!!!!
well..i couldnt do that on my own so i used the help of a few sites....
javascript Rich Text Editors
http://aspalliance.com/1092_Rich_Text_Editor_Part_I
http://ws.aspalliance.com/1092_Rich_Text_Editor_Part_II and a few others too...
so the best option for me was to build my own control so that i could customize it according to my needs....
http://freetextbox.com/
here is yet another one: NicEdit

Categories

Resources