Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8749481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:42:07+00:00 2026-06-13T12:42:07+00:00

I have a text-based application with 4 Rich Text Editors. When I hit my

  • 0

I have a text-based application with 4 Rich Text Editors. When I hit my save button, contents from all these Rich Text Editors has to be saved into a single RTF file!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:42:08+00:00Added an answer on June 13, 2026 at 12:42 pm

    Here is a working, though not particularly elegant solution:

        Dim temprtb As New RichTextBox
        With temprtb
            .Select(temprtb.TextLength, 0)
            .SelectedRtf = RichTextBox1.Rtf
            .Select(temprtb.TextLength, 0)
            .SelectedRtf = RichTextBox2.Rtf
            .Select(temprtb.TextLength, 0)
            .SelectedRtf = RichTextBox3.Rtf
            .Select(temprtb.TextLength, 0)
            .SelectedRtf = RichTextBox4.Rtf
            .SaveFile("C:\Users\Admin\Documents\test.rtf")
        End With
    

    It creates a new richtextbox, appends the contents of the existing richtextboxes, and saves the file.

    EDIT A more elegant solution might be to put all the richtextboxes in a panel and loop through them:

        Dim temprtb As New RichTextBox
        For Each c As Control In Panel1.Controls
            If TypeOf (c) Is RichTextBox Then
                temprtb.Select(temprtb.TextLength, 0)
                temprtb.SelectedRtf = DirectCast(c, RichTextBox).Rtf
            End If
    
        Next
        temprtb.SaveFile("C:\Users\Admin\Documents\test.rtf")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Flex-based web application that must accept rich text input from the
This is driving me nuts. I have a working text based application. It has
In my ASP.NET web-based application, I have a normal ASP.NET button that has a
I am making a web-based application and i have text-fields where the values are
I have several text fields that are dynamically populated based on user choice from
I have a text file exported from a Foxpro (Dos-based) program, but this text
I have a document-based application. Since upgrading to XCode 4.5.1 (from 4.4) NSOpenPanel crashes
I have an AJAX based application that updates a text field in a form
I have an application where I need to search in various text-based fields. The
In my application I have used a backslash as part of a text-based activity

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.