locked
Can I use Word Automation Object from a Windows Store app?

    Question

  • I'm trying to use Word Automation Service object from Windows Store App, I got the same error.

    My question is, is there a workaround for enterprise environment where side-loading could be used for deployment instead of windows store?

    Thanks

    Wednesday, January 09, 2013 7:14 PM

Answers

  • No, Windows Store apps cannot use arbitrary COM objects. Other than a few specifically allowed system objects they can only load registration-free COM objects installed in their own app package.

    Even were it written and included as a registration-free COM object, the Word Automation Service object wouldn't work in a Windows Store app since it would be limited to the app's package and wouldn't be able to communicate with Word.

    Running in an enterprise environment doesn't affect this behavior.

    --Rob

    Wednesday, January 09, 2013 9:22 PM
    Owner

All replies

  • No, Windows Store apps cannot use arbitrary COM objects. Other than a few specifically allowed system objects they can only load registration-free COM objects installed in their own app package.

    Even were it written and included as a registration-free COM object, the Word Automation Service object wouldn't work in a Windows Store app since it would be limited to the app's package and wouldn't be able to communicate with Word.

    Running in an enterprise environment doesn't affect this behavior.

    --Rob

    Wednesday, January 09, 2013 9:22 PM
    Owner
  • Thanks for the response.

    I understand the intended design, however OS should provide some means of allowing to do those functionality.

    'Running in an enterprise environment using side-loading license'

    I meant  -- similar to Windows Store app, when app comes from enterprise admin, it is consider as a safe app, so it should be allowed to do certain things which may not be possible from a regular store app.

    Wednesday, January 09, 2013 10:41 PM