473,378 Members | 1,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Insert formatted text fro 'Rich Text Box'

Hi

I am looking for a way to insert formated text from the Rich Text Box to a
Word Document That way the user will not have to Re-Format the text

Thank you in advance,
Shmuel Shulman
Nov 21 '05 #1
5 1980
Just to clarify my question, I can get the text with all marking data that
describes the formatted text, but can I insert this text to the document

Shmuel
Nov 21 '05 #2
Just a thought, can you copy it to the clipboard as rich text? Then it
should be easy to paste it into Word.

Nov 21 '05 #3
I need to d all that in VB Code. Do you think I can cut and paste

Cheers,
Shmuel
Nov 21 '05 #4
Shmuel,

I think that Chris WAS suggesting that you programmatically copy to and
retrieve from the clipboard using a windows.forms object known as
Clipboard....funny enough!

<Do you think I can cut and paste> I assume that this was not implied with
any 'tone'!!!!!!

HTH, Phil
"S Shulman" <sm*******@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP15.phx.gbl...
I need to d all that in VB Code. Do you think I can cut and paste

Cheers,
Shmuel

Nov 21 '05 #5
Thanks Chris and Phil,

The problem with this approach is that it interferes with the user who may
be using another application and although I can probably restore the
Clipboard content after I use it there will be a time that either of the
applications in use will have the wrong clipboard content, that's why I am
still looking for a method that can insert formatted text.
Alternatively, if I can reserve a system clipboard that may be another way
to go

Cheers,
Shmuel
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Erick | last post by:
Is it possible to store formatted text into a memo field. From for example Visual Basic?
1
by: Jim P. | last post by:
I have a rich text box that I want to 'insert' into my SQL2K db. But I'm not sure how to handle it. Do I convert it to XML first? Do I place the rich text box in an object then insert it as a...
1
by: Peter | last post by:
I have written a small terminal app that reads and writes to the serial port. In particular as the data is read from the serial port it is appended to the rich text box. The problem I am...
4
by: Al | last post by:
Hi, Is there any way to insert LinkLabel in rich text box? Or hyperlink a text in rich text box? Thanks Al
1
by: MayOng | last post by:
Is it possible to insert a table or draw a table on rich text box like what ms word do? please give me some guideline, 10q :)
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
5
by: Coll | last post by:
Hi - I have a function that returns a value to a text field. I need to bold a portion of the text field to match up with the rest of the form. I'd rather not split it into two separate text fields...
1
by: piercy | last post by:
hi, i need to be able to insert text into a rich text box from a click ( like the code buttons on the message bit here. ive got it working a bit but it puts the cursor back to the beggining of the...
0
by: K Viltersten | last post by:
I'm doing this on my rich text box called rtb, with cmb being a combo box. rtb.Text.Insert (rtb.Text.Length, cmb.SelectedItem.ToString () + "\n"); The text, however, doesn't appear. What do i...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.