Hello everyone,
Am developing a C# window form application where it will listen to when a user clicks on a link(for example, "chat now") on a website. I've seen various examples on socket programming but not what I really need.
More details:
- C# sharp application with a listener(listens to a specific port)
-When a user clicks on a link on the website, it notifies the C# application and a message box is shown to let an operator know that someone has clicked on the link "chat now".
I hope I've made myself clear enough. Any help will be greatly appreciated.
Regards
Angelina
C# listener
Page 1 of 15 Replies - 2323 Views - Last Post: 13 June 2010 - 09:36 PM
Replies To: C# listener
#2
Re: C# listener
Posted 13 June 2010 - 06:56 AM
This will be installed on the user's PC?
You want to monitor any link the user clicks on? Basically respond to any time the user clicks any link on any website?
You want to monitor any link the user clicks on? Basically respond to any time the user clicks any link on any website?
This post has been edited by tlhIn'toq: 13 June 2010 - 06:57 AM
#3
Re: C# listener
Posted 13 June 2010 - 08:09 AM
tlhIn, on 13 June 2010 - 05:56 AM, said:
This will be installed on the user's PC?
You want to monitor any link the user clicks on? Basically respond to any time the user clicks any link on any website?
You want to monitor any link the user clicks on? Basically respond to any time the user clicks any link on any website?
The C# application will be installed on a chat operator's PC.The user can be anyone who is surfing on a website. I have to monitor on only one link,that is, "chat now" link. When someone clicks on this link, this will as if trigger the application that someone wants to chat by a message box.
#4
Re: C# listener
Posted 13 June 2010 - 01:04 PM
Are you referring to registering your application to a URL protocol? Like say the link points to 'chatapp:username' it would open your application and open a new chat window with the user specified? This would require you modifying the user's registry and add a key that lists your application as a handler for the URL protocol. Basically, you don't have to 'listen' you just tell Windows that if the URL protocol is accessed to send it as a command-line to your application.
I try not to link off site, but this explains it a little:
Registering an Application to a URL protocol
I try not to link off site, but this explains it a little:
Registering an Application to a URL protocol
#5
Re: C# listener
Posted 13 June 2010 - 09:03 PM
I think what he wants to have a listening application for tech-support guys, so they can know when a user clicks on chat now, and talk with the guy in question 
Hope i made myself clear
Hope i made myself clear
#6
Re: C# listener
Posted 13 June 2010 - 09:36 PM
Sounds like a job for javascript to me. Just make an event handler that sends a message to the monitoring PC.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote









|