• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

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.
0
amillyard
Asked:
amillyard
  • 4
  • 3
1 Solution
 
vs1784Commented:
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.
0
 
amillyardAuthor Commented:
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.
0
 
vs1784Commented:
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
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
amillyardAuthor Commented:
vs1784: activex control - is this something that is already available via visual studio or do I need create the activex?
0
 
vs1784Commented:
You need to write it yourself. May be using Visual C++ or Visual Basic.
0
 
amillyardAuthor Commented:
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:?
0
 
vs1784Commented:
See this link

http://channel9.msdn.com/ShowPost.aspx?PostID=32483

It has more info. I suggest not to go for ActiveX unless thje software is going to be used in a singlle organization. Because ActiveX works only on Internet Explorer and if you develop it in C# it will need .NET framework installed on each machine using it.

Thanks
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now