Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Save RTF content to PictureBox

Posted on 2008-06-12
4
Medium Priority
?
306 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 750 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…
Suggested Courses

773 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