Insert formatted text fro 'Rich Text Box'

  • Thread starter Thread starter S Shulman
  • Start date Start date
S

S Shulman

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
 
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
 
Just a thought, can you copy it to the clipboard as rich text? Then it
should be easy to paste it into Word.
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Status Bar 2
NumericUpDown Control 2
Print an image file from VB 1
FontFamily.GetFamilies Method Question 1
Click in VB the Combobox 3
Tick a checkbox 1
bitwise operations 1
Menu Question 3

Back
Top