Textbox with image

Posts 1–2 of 2 · Page 1 of 1
Textbox with image
hi at mpgh

i have another question for you

im actually making a chat programm and i want to ask you if its possible when i write :-) that there is a ""

thank you
Use a richtextbox.

[highlight="VB.Net"]Dim Image As New System.Drawing.Image

If My.Computer.Clipboard.ContainsImage() Then
ClipImage = My.Computer.Clipboard.GetImage
End If

'You may assign an image from the resources to your clipboard aswell.

If Image IsNot Nothing Then
RichTextBox1.Paste()
End If
[/highlight]

You now just have to assign the image from the resources to the clipboard.

Now you need to find the textposition of the text you want to change, replace the text, paste.
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us