[Mono-dev] (no subject)

Jonathan Chambers joncham at gmail.com
Mon Mar 19 08:00:19 EDT 2007


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 <monoman at gmail.com> 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 <vidyapraveen_korlam at semanticspace.com>
> 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 at 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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070319/205e1783/attachment.html 


More information about the Mono-devel-list mailing list