Hi Praveen,
   I'm slowly adding COM Interop support to mono, but it's not finished
yet. What version of mono are you using?

Thanks,
Jonathan

On 3/19/07, Rafael Teixeira <[EMAIL PROTECTED]> wrote:

Hi Praveen,

Opening office documents, depend on COM libraries, which won't run on
Mono, unless you are in Windows, because they aren't portable (they
are native windows libraries, not managed ones that Mono can run).

You need to find some fully managed library to open such documents,
and I don't know of any, that could do a good job.

Good hunting,

On 3/19/07, vidyapraveen korlam <[EMAIL PROTECTED]>
wrote:
>
>
>
>
> Hi,
>  This is praveen,
>
> I'm trying to open a  word document in my .net application which is
>  running in mono.
>  now i'm running mono in windows XP.
>  the code is like this
>
> newApp =  new word.Application();
>  if(newApp.Documents!=null && Source!=null)
>   {
>     newApp.Documents.Open(ref Source,ref Unknown,ref Unknown,ref
>  Unknown,ref Unknown,
>                           ref Unknown,ref Unknown,ref Unknown,ref
> Unknown,ref
>  Unknown,ref Unknown,
>                           ref Unknown);
>   }
>
> Exception:
>  Object reference not set to an instance of an object .
>
> Can any body help me please.......
>  Thanks,
>  Praveen.
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


--
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to