Over a million developers have joined DZone.

Accessing Microsoft Office in the locked Windows Phone Emulator

DZone's Guide to

Accessing Microsoft Office in the locked Windows Phone Emulator

Free Resource

As I was looking through the list of blacklisted applications in the Windows Phone emulator, I noticed that Word, Excel and PowerPoint were blocked. But there was no reference to the composite office hub. That being said, I kept experimenting with different GUIDs and finally stumbled across the one that gives access to Microsoft Office Mobile.

That GUID is: 5B04B775-356B-4AA0-AAF8-6491FFEA561E

You might ask - how exactly can you launch the app if you have this GUID? Simple. I already talked about accessing blacklisted applications in the emulator, so all you need is a reference to Microsoft.Smartdevice.Connectivity.dll and this little snippet:

DatastoreManager manager = new DatastoreManager(CultureInfo.CurrentCulture.LCID);
IEnumerable<Platform> platforms = manager.GetPlatforms();
IEnumerable<Device> devices = platforms.First().GetDevices();

Device d = devices.Last();

d.GetApplication(new Guid("5B04B775-356B-4AA0-AAF8-6491FFEA561E")).Launch(); 

You can experiment with various documents, but you still cannot log in to SkyDrive because of the absent LiveID connection layer.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}