5 Replies - 3244 Views - Last Post: 13 June 2010 - 09:36 PM Rate Topic: -----

#1 Angelina20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 13-June 10

C# listener

Posted 13 June 2010 - 06:23 AM

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

Is This A Good Question/Topic? 0
  • +

Replies To: C# listener

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5677
  • View blog
  • Posts: 12,209
  • Joined: 02-June 10

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?

This post has been edited by tlhIn'toq: 13 June 2010 - 06:57 AM

Was This Post Helpful? 0
  • +
  • -

#3 Angelina20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 13-June 10

Re: C# listener

Posted 13 June 2010 - 08:09 AM

View PosttlhIn, 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?


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.
Was This Post Helpful? 0
  • +
  • -

#4 Skaggles  Icon User is offline

  • THE PEN IS MIGHTIER
  • member icon





Reputation: 251
  • View blog
  • Posts: 640
  • Joined: 01-March 09

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
Was This Post Helpful? 0
  • +
  • -

#5 Drknzz  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 04-April 10

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 :P
Was This Post Helpful? 0
  • +
  • -

#6 Momerath  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1012
  • View blog
  • Posts: 2,444
  • Joined: 04-October 09

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1