Link to home
Start Free TrialLog in
Avatar of amillyard
amillyardFlag for United Kingdom of Great Britain and Northern Ireland

asked on

passing info/instructions between a .net browser application and a windows installed application

I asking what is process or best practise with passing info/instructions between a .net browser application and a windows installed application

i..e real-world exmaple is that I have various client data on screen in the browser, have also a voip application running in the background on the client pc and then want to be able to press a button within the web browser to activate a call-out and the windows voip application receives that instruction and fires up a call.

the transfer of data between browser and application need to secure (obviously don't want anything else being passed to the voip application)

what are the building blocks to achieve this are likely to be?

thank you in advance for your time and efforts with this enquiry.
Avatar of vs1784
vs1784

I have seen salesforce using similar kind of application.

THis is the link for their demo software with code.

http://www.adnsandbox.com/media/CTI_Toolkit_1_1_setup.exe

Hope it will help you.
Avatar of amillyard

ASKER

vs1784:  thank you for the link --will look at this in more detail later as it appears alot more than I was asking for (thanks though).

what I guess I am asking is how to setup a port/tunnel between the browser using asp.net and a windows application.  rather learn from the source upwards at this stage.
To create a pipe between browser and windows application, i see 2 methods

1. Activex Control, which you need to add in website pages as well. Activex will act as bridge between website and windows application.

2. Implementing URL protocol. e.g. "callto:\\", "ftp:\\". You can setup your own URL protocol and pass messages to Windows application using simple links. like you can set link "callto:\\123-456-7890" to pass the number to your windows application and make call to the number. However you will need to register your protocol in registry which is not so difficult. Below is the link on URL protocol.

http://msdn2.microsoft.com/en-us/library/aa767914.aspx

Hope it helps you.

Thanks
vs1784: activex control - is this something that is already available via visual studio or do I need create the activex?
You need to write it yourself. May be using Visual C++ or Visual Basic.
vs1784:  ok, but this is going back to how do you start programming an active-x -- for example, if I am wanting to setup a pipe via the activex -- I use c#, do I script up like any other c# code or is activex different?   how you program a pipe connection:?
ASKER CERTIFIED SOLUTION
Avatar of vs1784
vs1784

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial