Windows Phone 7 – Invoking Office from 3rd Party App
For developers who want to launch Office documents or invoke the native handling of files which are down-loadable by the native Windows Phone 7 (WP7) web browser, there’s a simple and elegant method IF
- The file to download resides on the internet
- The url to the file does not have any wierd querystring
- The url to the file is not too long (not sure how long, the shorter the better)
Should any of these conditions fail, i’m sorry, there’s no other way to do this.
Q: So how do you do it?
A: Use the WebBrowserTask control
WebBrowserTask webBrowserTask = new WebBrowserTask();
webBrowserTask.URL = “[THEURL]“;