Click here to Skip to main content
15,435,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have desktop application in and i have web application in i want to redirect from desktop application to web application please help me?

1 solution

1.Is not possible to do this, because the web application is running on the web server and only the web application's clients are running in web browser, and desktop application is running on your computer. Also there is no redirect in the context of desktop application.

2.What you can do, is to open a web browser for your given URL directly from your desktop application, like in the example below:
string url = "";
Share this answer
Member 9027346 16-Dec-14 5:48am    
System.Diagnostics.Process.Start(url)not working.error:Unknown error (0x80041002)
Raul Iloc 16-Dec-14 6:31am     CRLF
1.It should work, maybe you set a wrong URL. Here is a link from Microsoft support that confirm my solution: 2.Could you publish the sequence of code used for doing this, maybe is an error there. You could also catch the exception like is done in the Microsoft support link.

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