Solved

Save RTF content to PictureBox

Posted on 2008-06-12
4
296 Views
Last Modified: 2010-05-18
Hi all !

I'm working with Richtextbox and I want to save the Richtext  to some PictureBox (Conversation) but I don't know how to do.

Could you send me some solutions ?

Many thanks,
0
Comment
Question by:nminhquy
  • 2
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
Clif earned 250 total points
ID: 21772308
Well, the "simple" solution would be to bitblt from the rich text box to the picture box.

You can get info and examples for bitblt here:
http://www.codeproject.com/KB/GDI-plus/Bitblt_wrapper_class.aspx

Actually in my search, I think this may be more appropriate:
http://www.tech-archive.net/Archive/VB/microsoft.public.vb.controls/2007-01/msg00012.html

Anything else is much more complex.
0
 

Author Comment

by:nminhquy
ID: 21839739
Thanks alot. I solved it by some API functions
0
 
LVL 10

Expert Comment

by:Clif
ID: 21845320
Wow, isn't that a coincidence, since API functions are what I posted a week and a half ago.
0
 

Author Comment

by:nminhquy
ID: 21852323
I can't remember. It's may be !
:)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question