13 Topics

Member Avatar for
Member Avatar for ppstyle

I am using this function to convert the contents of my richtextbox to html: Public Function myRTF_To_HTML(ByVal sRTF As String) As String Dim MyWord As Microsoft.Office.Interop.Word.Application Dim oDoNotSaveChanges As Object = Microsoft.Office.Interop.Word.WdSaveOptions.wdDoNotSaveChanges Dim sReturnString As String = "" Dim sConvertedString As String = "" Try MyWord = CreateObject("Word.application") MyWord.Visible = …

Member Avatar for tinstaafl
0
240
Member Avatar for Fame95

I recently started to learn rich text format and i am encountering a bizarre behavior. Here is the code: private void button2_Click_1(object sender, EventArgs e) { s = richTextBox1.Rtf; s = s.Insert(s.IndexOf("colortbl ;") + 10, @"\red0\green255\blue0;\red128\green0\blue0;\red128\green128\blue0;"); LockWindowUpdate(richTextBox1.Handle); string t = @"{\cf3 test }"; s = s.Insert(s.IndexOf("int") + 3, t); //insert …

Member Avatar for lolafuertes
0
186
Member Avatar for KE50

When formatted text is pasted from MSWord to a TRichEdit control, the bullets are well formatted (on the display) but after; Fetching the rtf data from the TRichEdit control using TStringStream, Saving the stream's DataString to a database and then Loading the saved rtf string back to the TRichEdit control …

Member Avatar for pritaeas
0
276
Member Avatar for mwansari

Hi, I want to know how to replace variables of RTF file using PHP language. Please help me....

Member Avatar for diafol
0
2K
Member Avatar for Riteman

I have two RichTextBoxes in my vb.net application (rtf1 & rtf2). rtf1 is loaded with the external data. Mostly It contains para split into different sections. The paragraph is a dynamic data, hence the no. of words keep on changing. Now my question is that, I want to select a …

Member Avatar for Riteman
0
3K
Member Avatar for anuj_sharma

am trying to add images to a rtf document. I am able to add images to the document but I can't append any images. This means that when the 2nd Image is added, the first image is removed. I think that whenever the code is executed a new rtf document …

Member Avatar for anuj_sharma
0
990
Member Avatar for VasquezPL

I have found out that myAppointment.RTFBody appeared with Outlook 2010. The problem is that I don't know how to use it. I copied an example from http://msdn.microsoft.com/en-us/library/aa287595(v=vs.71).aspx myAppointment.RTFBody = @"{\rtf1\ansi This is in \b bold\b0.}"; unfortunately whatever I put after myAppointment.RTFBody, I receive an error: System.Runtime.InteropServices.COMException (0xB9B0FFFF): The operation failed. …

Member Avatar for Momerath
0
2K
Member Avatar for walid86

i am curious to know if any one else has used this software... EasyByte RTF to HTML [url]http://www.easybyte.com/products/rtf2html.html[/url] i have tried sending them an email, but yet to receive a reply. I even bought the software as i really need a RTF to HTML dll component; it said wait 24 …

Member Avatar for walid86
0
174
Member Avatar for Stefano Mtangoo

Hi, I need to write very simple RTF parser to write and read basic rtf (bold,italic, underline, paragraph et al). I have searched for techniques I can implement but havent found good example. I would like to hear from you guys what approach whatsoever you consider to be best for …

Member Avatar for pritaeas
0
479
Member Avatar for rakwel10

can someone tell me how to do this... I have a page that contains reports and information. For this reason, I thought of putting an rtf generator that converts HTML to RTF. I've googled it, found some codes, but I cant understand... Any one here know how to do it? …

Member Avatar for rakwel10
0
285
Member Avatar for Enzo85

Hello everyone, I am trying to read a .rtf file, does this have to be done using the RTFeditorKit? Can a .rtf file be read line by line like a normal .txt file, as I was planning to read it line by line (as a string) to remove punctuation first …

0
111
Member Avatar for shers

Hi, Is there any way I can add a footer to rtf with name, page no. and date using c# and word tags? Thanks

Member Avatar for kvprajapati
0
81
Member Avatar for guptas

Hi, in my project i am creating a rtf file using xx.save(considering xx is the name of file), now when i try to load the same file using xx.load it opens the file in rtf box it loads the file successfully but prints few unwanted information too. a sample what …

Member Avatar for lolafuertes
0
94

The End.