|
-
Apr 11th, 2007, 07:02 AM
#1
Thread Starter
Member
[2005] Emoticon in VB.net
How would i be able to pull images out of a imagelist and replace them with things such as " " in a vb text box?
-
Apr 11th, 2007, 08:35 AM
#2
Re: [2005] Emoticon in VB.net
You might be able to do that using a RichTextBox, but not with an ordinary textbox.
-
Apr 11th, 2007, 08:46 AM
#3
Thread Starter
Member
Re: [2005] Emoticon in VB.net
how do i make a rich text box
-
Apr 11th, 2007, 08:51 AM
#4
Re: [2005] Emoticon in VB.net
RichTextBox is simply a control in your toolbox. Just like the regular Textbox is.
-
Apr 11th, 2007, 09:02 AM
#5
Hyperactive Member
Re: [2005] Emoticon in VB.net
In case of a chat program I would use a WebBrowser control so that you can append HTML, ie. Whatever you like!
» Twitter: @rudi_visser : Website: www.rudiv.se «
If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.
-
Apr 11th, 2007, 09:53 AM
#6
Thread Starter
Member
Re: [2005] Emoticon in VB.net
How can i Input into web browser
-
Apr 11th, 2007, 10:51 AM
#7
Hyperactive Member
Re: [2005] Emoticon in VB.net
I will find the code when I get back home for you.
» Twitter: @rudi_visser : Website: www.rudiv.se «
If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.
-
Apr 11th, 2007, 11:34 AM
#8
Re: [2005] Emoticon in VB.net
The documenttext property will let you set the html of the displayed document.
-
Apr 11th, 2007, 11:38 AM
#9
Hyperactive Member
Re: [2005] Emoticon in VB.net
That's what I was looking for, good point.
Alex, simply append each new message on a new line (<br />) and put whatever you like in it. A few simple string replacements should do the trick (ie. replace whatever you want with HTML code).
My preferred format would be for each message:
Code:
<br /><b>username</b> {time sent/received}: message
But maybe that's just me
» Twitter: @rudi_visser : Website: www.rudiv.se «
If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|