Click here to Skip to main content
15,886,840 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I created a windows application using .net4.5.2 framework which contains the logic to save the uploaded image in their local machine.

Then i have created web application using MVC5 where i integrated my windows application as a setup.msi file and i am able to access it.

Now my problem is that i want to call a method from windows form when I click a button(say, Save button)in my web application using javaScript.


Thanks in advance!!!
Posted
Updated 11-Aug-15 2:39am
v2
Comments
Herman<T>.Instance 11-Aug-15 9:05am    
which database do you use?
sai sruthi 11-Aug-15 10:12am    
I don't use any database i wanted to save in user's local machine where ever they want.
Herman<T>.Instance 11-Aug-15 10:14am    
create a seperate DLL that holds this intelligence. Add that DLL to both the winforms application as the website.
virusstorm 11-Aug-15 11:34am    
If I understand this correctly, you want JavaScript that execute a method inside a Windows Form application that is running on your local computer? This opens up a lot of security issues, you might want to rethink your solution.
ZurdoDev 11-Aug-15 11:36am    
No, you don't mix the two. What exactly are you trying to do?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900