Click here to Skip to main content
11,705,212 members (47,821 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET
Hi forum!

I have a problem with Richtextbox :

On my form : 1 button SAVE, 1 Richtextbox1

I used Ctrl+C and Ctrl+V to copy and paste Text and Image from Website and MS Word to Richtextbox,
but I can't, only text pasted !! <- What should i do to solve this problem !!!

(May be need :
1/ My.Computer.Clipboard.ContainsData Method -

2/ My.Computer.Clipboard.GetFileDropList Method -

And the last question : How i can save all things in Richtextbox ?? (both Text and Image)

Thanks for reading.

Sorry for my bad english !!!
Posted 18-Mar-13 21:46pm
Edited 22-Mar-13 22:15pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

you might be coping the image directly,
if you want to copy a image open the image in any image editor and then copy and paste the image in richtextbox

to save the richtextbox

phuongcei at 24-Mar-13 4:02am
I can't. Sometimes image was copied and pasted into Richtextbox but not always. And when i saved contains in Richtextbox only text saved..!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 550
1 OriginalGriff 244
2 ppolymorphe 126
3 CPallini 82
4 F-ES Sitecore 70
0 OriginalGriff 8,988
1 Sergey Alexandrovich Kryukov 8,272
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,606

Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 23 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100