Uhm... that question doesn't really make any sense. What do you need this "smiley-code" for? Smileys are (generally) just small images replacing text-versions or certain key words with the image associated with the text. The effect can be created using most server-side code, PHP, .ASP, probably JAVA too, and there isn't really much to it - you just use whatever language equivalent to str_replace (PHP) to switch out text with images. Or, if you want an automatic insert of the images in the text while you type, I suggest looking into javascript instead.
Yes, I need javascript like that. I also need a keyboard image for some only can use mouse to click letters. Thanks/Regards
I suggest looking into TinyMCE for instance. Not sure if it supports the smiley-functions you need, but it's a very good text-editor for use in forms etc. Or, you can see if you can figure out which editor the phpbb-forums use - it has the opportunity for custom smileys etc. built in. As for on-screen keyboard (if I understand you correctly), you'll have to look into accessibility for web forms. I don't know about any premade tiny editors with built in screen keyboards, but it would probably be possible to incorporate one.