0

I want to launch a new instance of MS Word from my client web browser. Like the way Sharepoint does. How can I do that? I don't want to host the Office file in my browser. I want to edit them in the application itself. People keep saying it is not possible. So how SharePoint does that? I'm looking for a cross-platform manner.

Saeid
  • 1,573
  • 3
  • 19
  • 37
  • I think the answer to this question can be found [here](http://stackoverflow.com/a/3058300/2045559). – Saeid Jun 17 '16 at 16:57

2 Answers2

0

If a website would be able to launch a process of choice with parameters of choice on the client machine, this would be a massive security breach - basically "game over". If you do not believe this, think e.g. of the process cmd.exe and the parameters /c del /s /y C:\*.*

Sharepoint uses the fact, that it is not "just another website", but part of the trusted network infrastructure, integrated with the windows client and Internet Explorer. Reproducing this in a cross-platform manner is not only extremly technically difficult, but also simply prohibited wherever US patent law is of any importance.

Eugen Rieck
  • 64,175
  • 10
  • 70
  • 92
  • Thanks for your answer Eugen. It seems the only way is to call them with something like Silverlight. – Saeid May 02 '14 at 01:09
0

I think I found an answer to this question. By implementing external protocol handler in modern browsers, you can achieve the task of the question. Read more:

  1. External Protocol Handlers and Modern Browsers
  2. https://weblogs.asp.net/morteza/How-to-run-a-desktop-application-from-a-web-page
  3. https://www.codeproject.com/Articles/332206/Custom-URL-Protocol-for-Invoking-Application
Saeid
  • 1,573
  • 3
  • 19
  • 37