472,110 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

Interact with word files

Hello

I m working with Framework 1.1.
I d like to interact with word files (.doc or .dot) from the server. But
Neither office or word are installed on it.
There is a way for manipulating word file in a such configuration. Or do I
have to pass by a commercial component. That is to say for me, acquire a
library and put it in /bin directory and call the right Namespace. Someone
know a component wich allow to manipulate word file and realize different
merging with datasource ?
I have seen informations about the namespace Microsoft.Office.Interop.Word.
But I don't understand all about it. If I can use it to do someting with
..doc file.

Thanks for all your help.
best regards
fabrice
Oct 19 '06 #1
4 1379
aze
Hi fabrice,

I have used the interop dlls and yes they do allow you to work with doc
files. What I don't know is if you have to have office or word
installed on the server. I do faintly remember having to set security
permissions for the network service user to access the COM+ objects in
my server. I'm not at my server at the moment, but will have a look at
my config tonight an hopefully be able to give you a better insight in
the use of this.

Cheers

Aze

fabrice wrote:
Hello

I m working with Framework 1.1.
I d like to interact with word files (.doc or .dot) from the server. But
Neither office or word are installed on it.
There is a way for manipulating word file in a such configuration. Or do I
have to pass by a commercial component. That is to say for me, acquire a
library and put it in /bin directory and call the right Namespace. Someone
know a component wich allow to manipulate word file and realize different
merging with datasource ?
I have seen informations about the namespace Microsoft.Office.Interop.Word.
But I don't understand all about it. If I can use it to do someting with
.doc file.

Thanks for all your help.
best regards
fabrice
Oct 19 '06 #2
Thanks a lot
I m going to take a look.
bye
fabrice
"Mark Rae" <ma**@markNOSPAMrae.coma écrit dans le message de news:
eJ**************@TK2MSFTNGP02.phx.gbl...
"fabrice" <em******@test.comwrote in message
news:eW**************@TK2MSFTNGP04.phx.gbl...
>I m working with Framework 1.1.
I d like to interact with word files (.doc or .dot) from the server. But
Neither office or word are installed on it.

Nor should they be! Under no circumstances install Word or Office on your
web server.
>There is a way for manipulating word file in a such configuration. Or do
I have to pass by a commercial component. That is to say for me, acquire
a library and put it in /bin directory and call the right Namespace.
Someone know a component wich allow to manipulate word file and realize
different merging with datasource ?

This is pretty much the industry standard:
http://www.aspose.com/Products/Aspos...s/Default.aspx

Oct 19 '06 #3
Hello,

Thanks for your help.
No, Word is not installed on the server.
And i wonder if i can manipulate doc files in that situation.
If yes by using interop dlls , do you know where i can get it ?
I m very interested by your configuration ;-)

Thanks in advance.

fabrice

"aze" <co*****@parkesconsultancy.co.uka écrit dans le message de news:
11**********************@e3g2000cwe.googlegroups.c om...
Hi fabrice,

I have used the interop dlls and yes they do allow you to work with doc
files. What I don't know is if you have to have office or word
installed on the server. I do faintly remember having to set security
permissions for the network service user to access the COM+ objects in
my server. I'm not at my server at the moment, but will have a look at
my config tonight an hopefully be able to give you a better insight in
the use of this.

Cheers

Aze

fabrice wrote:
>Hello

I m working with Framework 1.1.
I d like to interact with word files (.doc or .dot) from the server. But
Neither office or word are installed on it.
There is a way for manipulating word file in a such configuration. Or do
I
have to pass by a commercial component. That is to say for me, acquire a
library and put it in /bin directory and call the right Namespace.
Someone
know a component wich allow to manipulate word file and realize different
merging with datasource ?
I have seen informations about the namespace
Microsoft.Office.Interop.Word.
But I don't understand all about it. If I can use it to do someting
with
.doc file.

Thanks for all your help.
best regards
fabrice

Oct 19 '06 #4
"fabrice" <em******@test.comwrote in message
news:Os****************@TK2MSFTNGP04.phx.gbl...
Thanks for your help.
No, Word is not installed on the server.
And i wonder if i can manipulate doc files in that situation.
If yes by using interop dlls , do you know where i can get it ?
I m very interested by your configuration ;-)
UNDER NO CIRCUMSTANCES should you try to incorporate Microsoft Office
interop into a web app - that is one of the worst things you can do in terms
of performance.
http://www.aspose.com/wiki/default.a...utomation.html

And if that's not good enough, see this from the manufacturers themselves:
http://support.microsoft.com/default...US;q257757#kb2
Oct 19 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

20 posts views Thread by Al Moritz | last post: by
10 posts views Thread by Neil | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.