Solved

Save RTF content to PictureBox

Posted on 2008-06-12
4
294 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now