473,320 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Rich text and images

2
I'm using .NET and C# and I'm having trouble finding a way to put images into a richtextbox. The example uses the clipboard, but that's no good. That would erase whatever is already there.

I mean, come on. This is all Microsoft stuff. There must be a better way in .NET to add image into this format. They advertize that it can use fonts, colors, images, etc. So there should be a native way to do that.

Also, is there any way to lock the image size in RTF so that it can't be resized?
Jun 19 '08 #1
2 983
r035198x
13,262 8TB
I'm using .NET and C# and I'm having trouble finding a way to put images into a richtextbox. The example uses the clipboard, but that's no good. That would erase whatever is already there.

I mean, come on. This is all Microsoft stuff. There must be a better way in .NET to add image into this format. They advertize that it can use fonts, colors, images, etc. So there should be a native way to do that.

Also, is there any way to lock the image size in RTF so that it can't be resized?
How did you try to add the images? Are you sure you are not running into the problems stated in
While RichTextBox supports copying and pasting of images, certain scenarios are currently unsupported and may not work properly. The following table summarizes these scenarios and expected results.
Jun 19 '08 #2
fabrou
2
How did you try to add the images? Are you sure you are not running into the problems stated in
Thanks for your reply. That table seems to refer to copy/paste procedures. The whole point of this is to somehow get an image into rich text without having to use "paste".

I simply want to insert an image (from a file or URL) into a richtext box, without having to manage/destroy the contents of the clipboard.
Jun 27 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ben Thomas | last post by:
Hello I am new to programming I am using a Rich Text Box in the Compose Form in a VB.NET email client application similar to Microsoft Outlook that I am trying to develop When I try to paste an...
1
by: PC User | last post by:
I found this Rich Text Editor and I've been trying to recreate it in my own application. I've had trouble with the COMCTL.ImageListCtrl and the COMCTL.Toolbar to recreate the toolbar. And I've...
2
by: Ben Thomas | last post by:
Hello I am new to programming I am using a Rich Text Box in the Compose Form in a VB.NET email client application similar to Microsoft Outlook that I am trying to develop When I try to paste an...
1
by: Blog the Haggis | last post by:
Hi everyone, The program I am writing has a rich text window showing particular types of data message, and my plan is to insert a small BMP image before each message depending on its type. So...
11
by: ARC | last post by:
Hello all, My app has an e-mailing feature where you can e-mail reports, as well as a bulk e-mail feature for e-mailing all customers (as separate e-mails). I allow the user to set the subject...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.