Home > Uncategorized > Windows Phone 7 – Invoking Office from 3rd Party App

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

  1. The file to download resides on the internet
  2. The url to the file does not have any wierd querystring
  3. 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]“;

webBrowserTask.Show();

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: