Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
How to link windows form module within Web application?
If it is possible using Web Services, than how i can use web service?

Pls anyone help me its urgent
Posted
Updated 2-Jun-15 0:13am
v2
Comments
Thanks7872 2-Jun-15 4:44am    
Nothing is clear.
Richard MacCutchan 2-Jun-15 6:15am    
I don't think you can run Windows Forms applications inside Web pages, as the two are not compatible. How would it work if the browser was running on a non-windows platform?
Aniiil 2-Jun-15 6:55am    
Thanx Richard Sir, but suppose i have an windows app where my reports are created and now i want to call report in web app on run time through any link. Is it possible?

1 solution

If you want to display a form from a windows (desktop) application, than the answer is - you can not!
If all you want is to access some functionality inside a already written application than you can do these:
1. Make the functionality public...
2. Write a webservice/webmethod that wrap that functionality and formats the result according your need...
3. From your web application call the webservice.webmethod from step 2...
Important! If your windows (desktop) application has UI, you should have problem to run it as is and you may have to redesign it (servers are not like to run UI from a non-interactive credential)...
 
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