42 Topics
|
|
Hi I have a simple MS Access database with some rich text fields. I have been trying to bind some RichTextBox controls in my form to these fields. When I used the following c# code: [CODE] Binding bd = new Binding("Text", ds, "Words.meaning", true); tbDesc.DataBindings.Add(bd);[/CODE] ds= my DataSet Words= my … |
|
Hello world of DaniWeb, what's up? I have the following problem; I've created a text editing application in VB.NET that actually works pretty well with opening, saving files etc. But when it comes to opening a file, modifying it, and then trying to save it, the save dialog will pop … |
|
Hello world of DaniWeb, it's been months since I last visited this forum but here I am asking for your help again :) I've been developing a text editing application and my problem is that the RichTextBox control will "lose" all special formatting (like font, color etc.) when enabling WordWrap. … |
|
How do I obtain the characterindex that the cursor is currently pointing at in a richTextBox. |
|
Is there a way to programmatically set the insert point in a multiline richTextbox? Example: I have a (almost) free format message where the reciever is expected to enter his own information at certain points (marked with a special char-sequence), before the message is processed further. A richTextbox.Find will find … |
|
Hello world of DaniWeb. If the title of this thread kinda looks complicated, believe me, it's not. This'll be a simple and straightforward question along with a piece of code attached to it. So, how can I determine whether a RichTextBox control contains text or not when functions such as … |
|
So I've got some lines in my richtextbox, but when i click btnSaveLog, it saves, but everything is on one line... I have to use a richtextbox to show all info. I've seen it does show the lines with Wordpad, but i'm saving it as a *.log file, so i'm … |
|
Hi, Is there anyway on how can I calculate the paragraph size in centimeters? My idea is to build a document, by filling blank spaces left on a page that has a big paragraph.. If I knew the paragraph size, I could organize the document to save pages, joining small … |
|
Hi, You probably got annoyed when you read the title, it must have been asked a million times. But unfortunatly I cant get it working for myself. Ive been using this code to highlight the word "var": [CODE]Dim search As String = "var" Dim index As Integer = RichTextBox1.Text.IndexOf(search) If … |
|
Help! I am looking for a richtextbox for asp.net. Our requirements are that we load the richtextbox and do find/replace on the contents of the text box and then allow the user to print it after we have completed the find/replace operations. The User does not and will not enter … |
|
Hi, Im trying to transfer some text from the richTextBox into an existing MS word template at a specific location. I am able to transfer text to any location i like, but i want to retain the formatting of the text from the richTextBox. Im trying to copy the text … |
|
Hi guys, I wrote a simple text editor using C#. It can maintain the text format like font color, and font size when text pasted to it, and I able to save it to .doc, or .rtf. When I open the saved file with appropriate application like MS Word, it … |
The End.