Solved

Save RTF content to PictureBox

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

747 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

12 Experts available now in Live!

Get 1:1 Help Now