473,698 Members | 2,615 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding Emoticons to ASP.NET Chat application that uses Remote Scripting

JM
Hi,

I made an ASP.NET chat application using remote scripting, so that the
entire page does not refresh when new messages arrive. The client-side
has a timer that accepts new messages every 5 seconds. All it does is
concatenate the new message to the existing chat message string. Now I
want to add emoticons just like MSN and Yahoo! Messenger. Can you guys
please give me an idea on how to make this work? Is it possible to
integrate graphics to string on Javascript?
Thanks,

JM

Nov 19 '05 #1
2 4417
You could encode the graphic in say Base64 or whatever and concatenate this
to your message,and then decode. However, I would rather suggest that a more
sensible way to do this is to concatenate a code string which correspends to
the appropiate graphic and have your application interpret this on render.
"JM" <jo******@gmail .com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Hi,

I made an ASP.NET chat application using remote scripting, so that the
entire page does not refresh when new messages arrive. The client-side
has a timer that accepts new messages every 5 seconds. All it does is
concatenate the new message to the existing chat message string. Now I
want to add emoticons just like MSN and Yahoo! Messenger. Can you guys
please give me an idea on how to make this work? Is it possible to
integrate graphics to string on Javascript?
Thanks,

JM

Nov 19 '05 #2
Load all the emotion images on your chat server. and use the <img
src-"emotion.jp g"></img> to display with appropriate height and width.

Regards ,
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1344
by: preet | last post by:
What I am trying to do is to develop a dhtml based chat system. So far everything is working as planned, took me over 6 hours to get it working, but I am pleased with the results, it is comparable to java chat. With no page refresh. My problem is How do we manage which users are online on chat and which are not.
2
1493
by: Xavier MT | last post by:
Hi, does anybody use remote scripting on your asp pages? I want to upgrade to asp.net but I cannot include the remote scripting because I'm already using VB as a server language. Any ideas?
3
2510
by: Dexter | last post by:
Hello all, I need to build a chat using ASP.NET (VB), this chat is to the online communication with customers. I would like to know what is best. To use webservices or to use remote script? thanks
3
2954
by: Sven | last post by:
My current application is programmed in Visual Basic 6.0 It is a server and uses the winsock-control Now I have learned that the winsock control is not (fully) supported by VB.NET and that I have to use the "System.Net.Sockets namespace" As I am new to VB.NET, I want to ask if anyone knows a site where I can download a sample chat application programmed in VB. NET 2003? I mean there are a lot of Chat-programm-samples out there for VB...
0
1705
by: Michael Höhne | last post by:
Hi, we're developing some web services and use the local development server of Visual Studio 2005 to create, run and debug the project. The web service methods connect to a database hosted on a dedicated server and the Microsoft CRM 3.0 server, also on a separate machine. As the CRM server installation makes changes to the Active Directory, they are located in a separate domain, while the development machines are member of the companies...
0
1045
by: dhinesh | last post by:
Hi, I want to show a chat request alert on the remote side when the user clicks "chat with particular person", and also both are not login to the chat room. Please help me. Advance thanks to you. By Dhinesh
4
2122
by: Julian | last post by:
Hi, first of all, I have to say I am new to Python. I have been working with a finite element analysis program written in c++. now, I am trying to 'rebuild' this code (possibly a full re-write) with scripting capability. I did some reading on the web, and found that there are two ways to do this : extending and embedding. and I still haven't figured out what I should be using. I guess the first thing is to figure out what I am to do with...
6
2273
omerbutt
by: omerbutt | last post by:
hi there i am making a scrapbook application i which i have some emoticons also i had to make a preview section for writing a scrap in which i have to show the emoticons also that are written in the scrap ,i have completed the preview part with the help of javascript ,now i have to show those scraps along with the emoticons populated in the scrap book .The logic that i am using is to filter the scrap from the database just before they are...
9
14030
by: NehaDas | last post by:
Hi , Could someone let me know how to start with the building a chat client server application . I have tried the basic remoting sample wherein the client contacts the server n gets a response . I wanted to proceed towards building a chat application . I need help with what should the client do , example what would be the remote object here and how is it manipulated ? what would the client n server code deal with ? Thanking in advance ! :)
0
8685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7743
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.