|
-
Jan 4th, 2010, 08:02 AM
#1
Thread Starter
Addicted Member
-
Jan 4th, 2010, 08:11 AM
#2
Re: How to make smileys move
Welcome to VBForums.com 
I think animated GIFs might not work in RichTextBox... But, by using a WebBrowser control, animated GIFs can be displayed.....
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Jan 4th, 2010, 08:19 AM
#3
PowerPoster
Re: How to make smileys move
 Originally Posted by akhileshbc
I think animated GIFs might not work in RichTextBox... But, by using a WebBrowser control, animated GIFs can be displayed.....
You could however "fake" animation by having the image in the RTB changed using a timer X times per second.
If you want to keep it simple, webbrowser's the way to go, as mentioned.
If you want it to be more professional while being simple, stick with your RTB and be aware of its limitations and the possibility that some might not be overcomeable.
If you want the chat to be even more professional while not going through the hassle of making your own control, you could consider making a frame and putting elements into it manually, but then you'd have to mess about with location of each element (label, image, etc)...it'd give the most polished result but it wouldn't allow copy/pasting from the text which both the RTB and the webbrowser will do. The frame method is something I plan to play about with sometime in the near future myself, although if I don't I'll be using webbrowser for the chat rather than a RTB.
I'd try going into custom controls for handling this, but I'm not the kind of person you'd want to ask for that kind of professionalism with programming :-)
Well, everyone else has been doing it :-)
Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
Expect more to come in future
If I have helped you, RATE ME! :-)
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
-
Jan 5th, 2010, 02:07 AM
#4
Thread Starter
Addicted Member
-
Jan 5th, 2010, 07:25 AM
#5
Frenzied Member
Re: How to make smileys move
Project>Components (or CTRL+T, or right click on toolbox)...
When dialog comes up, select Microsoft Internet Controls, put check in box, and hit okay.
This is the WebBrowser (WebBrowser1 or WB in code examples) and with a search of this forum, and/or codebank you should find as many examples as you need to make it sit up and beg for more... 
Good Luck
Option Explicit should not be an Option!
-
Jan 5th, 2010, 07:44 AM
#6
PowerPoster
Re: How to make smileys move
 Originally Posted by vb5prgrmr
make it sit up and beg for more... 
It might just be personal experience, but the only begging I ever see with webbrowser is me begging the damn thing to do what I want it to, then crying with rage as it decides not to listen :-P
Well, everyone else has been doing it :-)
Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
Expect more to come in future
If I have helped you, RATE ME! :-)
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
-
Jan 5th, 2010, 08:31 AM
#7
Frenzied Member
Re: How to make smileys move
Option Explicit should not be an Option!
-
Jan 13th, 2010, 10:38 AM
#8
Hyperactive Member
Re: How to make smileys move
It was indeed. Thanks for that mate.
Slower than a crippled Vista
More buggy than a fresh XP install
Look! Down the road, some 50 miles behind the drunken snail.
It's Ubuntu!
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
|