Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Save RTF content to PictureBox

Posted on 2008-06-12
4
Medium Priority
?
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
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.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

660 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