[Smartphone-c#] Word files

hi!

i have created an application that open a specific *.doc file in a directory.

but when i try to run it the smartphone gives an error on the "Microsoft.Office.Interop.Word.dll"...

i have tryed to import the dll and copy it on the phone, but it doesn't work...

why

 

 

//-------------------------------------------------//

this is the error message:
TypeLoadException was unhandled" Corpo: "File or assembly name 'Microsoft.Office.Interop.Word, Version=10.0.4504.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35', or one of its dependencies, was not found.



Answer this question

[Smartphone-c#] Word files

  • Shan Martin

    so..when i import a doc file it would be converted to a mobile one

    but if i copy a desktop one on a memory card (without using AtiveSync)


  • Judah

    indeed in which case you may well pretty be stuck

  • kesim

    interop assemblies are pretty picky. I don't think Office interops exist for mobile platforms. the version of "Word" on your PDA or Smartphone isn't the same as desktop Word.
  • MRaman

    you have to install the pocket office on the mobile device I believe in order to "open" the word document, not just copy over the interops. They have to be properly registered/installed I believe.

    you can't copy a PC version of word interop to a mobile device - different platforms altogether.



  • goh6613

    not as far as I know im afraid. you can open pocket word docs etc... (mobile word) on PPC or devices that have the pocket office installed AFAIK. you could use some 3rd party API or SDK or something to open docs or some form of word viewer but other than that, by standard, there isnt a way.

  • Juliano Nunes

    the problem is that there isn't pocket office for smartphone
  • Joe Au

    AndrewBadera wrote:
    interop assemblies are pretty picky. I don't think Office interops exist for mobile platforms. the version of "Word" on your PDA or Smartphone isn't the same as desktop Word.

    i don't know if exist for mobile platforms, i have copied the same dll of my desktop on the smartphone

    so, what can i use to open a .doc file or i can't


  • LpAngelRob

    so...there isn't any way to open a .doc file on smartphone
  • Drittz

    Tony512 wrote:

    AndrewBadera wrote:
    interop assemblies are pretty picky. I don't think Office interops exist for mobile platforms. the version of "Word" on your PDA or Smartphone isn't the same as desktop Word.

    i don't know if exist for mobile platforms, i have copied the same dll of my desktop on the smartphone

    so, what can i use to open a .doc file or i can't

    programmatically don't think you can, at least not in managed code. are mobile Word and desktop Word document files compatible to begin with I'm pretty certain mobile Excel and desktop Excel spreadsheets need to go through an import process to run on the opposing platform, I'd think the same would apply to Word.


  • [Smartphone-c#] Word files