Click here to Skip to main content
15,888,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all


I'm developing an asp.net application in this i get 4 values as final result , i need to pass this to a win form application in the local system for displaying these values in that win form application. is it possible? plz suggest a solution
Posted
Updated 24-Jan-14 17:34pm
v2

I'm not aware of any ways that data can just be directly passed from a webpage in a browser to software running on a user's machine.

Maybe you could try storing the data on the server in some way, and then provide a url that the WinForms application can request (maybe every few seconds), providing it with the data?
 
Share this answer
 
Comments
Praveen_P 25-Jan-14 0:56am    
Hi thanks for your response
Is it possible to save these 4 values as text file in local system after completing all steps in web application , and then display these values in win forms app
Mitchell J. 25-Jan-14 1:01am    
No, not as textfiles. But I have just had an idea, and I will post it as an answer.
Praveen_P 25-Jan-14 1:04am    
Thanks in advance
Nope. Cannot be done directly.
 
Share this answer
 
Comments
Praveen_P 25-Jan-14 1:04am    
Can you suggest any other idea
Try cookies.

If your webpage stores the data in cookies, then it should be possible to read the cookies from your local-running application, because cookies are stored locally.

I can't provide any links other than Google for pursuit of this possible solution.
 
Share this answer
 
This is what web services are for. why not create a duplex service that your apps can subscribe to. Or create a polling mechanism to return data from a webpage to the app. Web services will be the most appropriate here.
 
Share this answer
 
Hi
that values you have to store in the properties ,
after that you can access that values in winforms.
 
Share this answer
 

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