Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi sir,
I changed one web application to window application, in my code, i am using Response.Flush() Response.End(); Request.PhysicalApplicationPath. But it shows "Response does not exist in the current context".


I add a web reference to system.web.dll and used HttpContext.Current.Response.Flush(). But still showing error. I want to know
how to use Request and Response object in c# windows application. Kindly give me the solution for this problem.
Posted
Comments
Ron Beyer 6-Jul-13 9:02am    
Response.Flush and Response.End would have no place in a windows application, what would you expect them to do?
_Asif_ 6-Jul-13 11:55am    
Need a bit of knowledge about your windows application. What does it 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