Refreshing Richtextbox??
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts
Page 1 of 1
Hey Peeps
Long time me no see
I wonder if anyone can help me with a little problem i am encountering with an app i am making..
I have a Richtextbox which accepts text Input from a Textbox and i have the option to add images to the richtextbox as well as the text...
When i refresh the Richtextbox when testing the app and have text and image showing, it only refreshes the text and leaves out the Image? :shock:
So my question is = how can I refresh the Richtextbox and keep the Text and Image intact?
Any help will be most gratefull and i will reward those with credits for help (that works)
cheers
Chris
Long time me no see

I wonder if anyone can help me with a little problem i am encountering with an app i am making..
I have a Richtextbox which accepts text Input from a Textbox and i have the option to add images to the richtextbox as well as the text...
When i refresh the Richtextbox when testing the app and have text and image showing, it only refreshes the text and leaves out the Image? :shock:
So my question is = how can I refresh the Richtextbox and keep the Text and Image intact?
Any help will be most gratefull and i will reward those with credits for help (that works)

cheers
Chris
What do you use to refresh the TextBox? Is it simply Textbox.text=... ?
Hey Comathi
But the code i am using to refresh the page when the image and text in present is
What do you use to refresh the TextBox? Is it simply Textbox.text=... ?
Code: Select all
That code above refreshes the textboxes in the the richtextbox"Name: " & TextBox1.Text & " " & vbCrLf & vbCrLf & _
But the code i am using to refresh the page when the image and text in present is
Code: Select all
ChrisRichtextbox1.refresh()
If you're familiar with C#, this might help you: http://www.codeproject.com/Articles/454 ... xtBox-at-R
It explains how to insert both text and images programatically into a RichTextBox control.
It explains how to insert both text and images programatically into a RichTextBox control.
copy the text and image in the richtextbox control. as in copy and paste that way you will have a copy of the richtextbox.
just copy it to memory then at refresh() paste it back.
idk? it might work
just copy it to memory then at refresh() paste it back.
idk? it might work
5 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023