42 Topics

Member Avatar for
Member Avatar for kelp

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 …

Member Avatar for nick.crane
0
535
Member Avatar for TechSupportGeek

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 …

Member Avatar for TechSupportGeek
0
223
Member Avatar for TechSupportGeek

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. …

Member Avatar for TechSupportGeek
0
194
Member Avatar for StaffanB
Member Avatar for nick.crane
0
130
Member Avatar for StaffanB

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 …

Member Avatar for nick.crane
0
155
Member Avatar for TechSupportGeek

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 …

0
83
Member Avatar for Isaaac

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 …

Member Avatar for Isaaac
0
821
Member Avatar for brubru

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 …

Member Avatar for brubru
0
174
Member Avatar for Ragoune

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 …

Member Avatar for thecoat
0
734
Member Avatar for djr0379

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 …

Member Avatar for StevenCashman
0
86
Member Avatar for jatin24

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 …

Member Avatar for jatin24
0
2K
Member Avatar for MxDev

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 …

Member Avatar for serkan sendur
0
154

The End.