|
|
 |
Re: FN-FORUM: .NET & COM
date posted 15th January 2005 00:32
I will most likely be using Word 10 (Office XP) to do this rather than 2003
as this is what the client has at the moment. Thanks for the info and help
Best Regards
John
----- Original Message -----
From: "Hibri" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Friday, January 14, 2005 10:26 PM
Subject: Re: FN-FORUM: .NET & COM
>
> Hi John,
>
> I don't have any examples but, the code will be similar to doing it on
> a client machine.
> the ASP .Net code runs on the server, using the Word installed on the
> server and not at the client. The client will only see the HTML code
> you throw out as a result of your processing.
>
> it would be better if you put all the Word document processing code,
> in a .net class library and then reference it from your ASP .Net code.
> This way you can create a portable library, and not clutter up your
> ASP .Net code with the document processing stuff.
> What is the version of Word you are going to use ?
>
> have a look here for more
> http://msdn.microsoft.com/office/understanding/vsto/default.aspx
> http://msdn.microsoft.com/office/
>
> Hibri
>
> On 14 Jan 2005 20:24:46 -0000, John Kyle [EMAIL REMOVED]
wrote:
> >
> > Do you have examples of this? The examples I have are for .NET
applications
> > that opens the application on the client machine and does the work
there.
> > How would I do this on the server (having Word installed on the server
is
> > not a problem). The Word document is held in SQL Server, I need to get
the
> > information out of SQL Server (Image field) which is easy enough and use
> > this data as the file information when opening Word on the server. Once
I
> > have this I can use (hopefully) to extract a list of changes done to the
> > document recorded when Track Changes has been turned on (although I
cannot
> > see any reference to Track Changes in the Object browser n Visual Studio
> > .NET 2003 but there are reference to Revisions - is this the same or
> > different?
> >
> > This is for an ASP.NET application - if I have a reference to Microsoft
Word
> > in the ASP.NET code does this mean it will try and run it at the server
or
> > at the client?
> >
> > Best Regards
> >
> > John
> >
> > ----- Original Message -----
> > From: "Hibri" [EMAIL REMOVED]
> > To: [EMAIL REMOVED]
> > Sent: Friday, January 14, 2005 8:00 PM
> > Subject: Re: FN-FORUM: .NET & COM
> >
> > >
> > > hi john
> > >
> > > you could upload the Word document to the server, and then strip out
> > > the information on the server. you will need to install Word on the
> > > server.
> > >
> > > hibri
> > >
> > > On 14 Jan 2005 19:28:57 -0000, John Kyle
[EMAIL REMOVED]
> > wrote:
> > > >
> > > > I got asked a question by a client this morning and wondered if this
is
> > > > possible in .NET. I know you can use COM in .NET and I was asked if
it
> > is
> > > > possible to list the changes done to a Word document if the document
has
> > > > Track Changes turned on so these changes can be listed in a web page
and
> > > > viewed historically. I was thinking of using a COM reference to
> > Microsoft
> > > > Word and opening the document using this and trying to use one of
the
> > COM
> > > > functions etc to display a list of changes listed in the Track
Changes
> > part
> > > > of the document. What I need to know is will MS Word have to be
> > installed on
> > > > the client machine and is the Word document effectively being opened
by
> > > > their machine and the information stripped out and then displayed
and
> > Word
> > > > then closed again on their machine. Is it possible to do this on the
> > server
> > > > itself i.e. have a version of word installed on the server and use
that
> > > > instance of the program with COM to strip this information out
rather
> > than
> > > > relying on the client machine version
> > > >
> > > > I know you can create an instance of Excel and use Excel functions
but
> > it
> > > > relies onyou having a copy installed on your machine but I really
need
> > to
> > > > use an instance on the server rather than the client
> > > >
> > > > Any help appreciated
> > > >
> > > > Best Regards
> > > >
> > > > John
> > > >
> > > > --
> > > > Freelancers, contractors earn more with Prosperity4
> > > > Call 0870 870 4414 or visit www.prosperity4.com
> > > > and benefit from Inland Revenue approved expenses today.
> > > >
> > > > To advertise here: http://www.freelancers.net/advertising.html
> > > >
> > > >
> > > --
> > > Freelancers, contractors earn more with Prosperity4
> > > Call 0870 870 4414 or visit www.prosperity4.com
> > > and benefit from Inland Revenue approved expenses today.
> > >
> > > To advertise here: http://www.freelancers.net/advertising.html
> > >
> > >
> > --
> > Freelancers, contractors earn more with Prosperity4
> > Call 0870 870 4414 or visit www.prosperity4.com
> > and benefit from Inland Revenue approved expenses today.
> >
> > To advertise here: http://www.freelancers.net/advertising.html
> >
> >
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|