469,929 Members | 1,557 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,929 developers. It's quick & easy.

doc to docx

hello gents,
i have a similar thing to do. i am not much into .net yet. i am currently working on asp website which generates doc file on a fly. i now want to convert these doc to docx files. i am not sure this can be doable in asp vbscript. any help or advice on this is much appreciable.
thanks
ibrahim
Dec 31 '07 #1
2 4163
On Mon, 31 Dec 2007 14:50:43 -0800, <asp.netwrote:
hello gents,
i have a similar thing to do. i am not much into .net yet. i am
currently working on asp website which generates doc file on a fly. i
now want to convert these doc to docx files. i am not sure this can be
doable in asp vbscript. any help or advice on this is much appreciable.
Assuming you don't want to write a full-blown file converter yourself (a
daunting task, to say the least), you'll have to use Word 2007 to do
this. You can automate it through .NET I believe, but you need the actual
Word program to create a .docx file.

How are you generating the .doc files in the first place? I suppose if
you've already got code that generates .doc files from scratch, it might
be within your resources to just write code to generate .docx files
instead, rather than trying to write code that's more general-purpose to
convert one to the other.

Pete
Dec 31 '07 #2
On Mon, 31 Dec 2007 17:30:34 -0800, Nicholas Paldino [.NET/C# MVP]
<mv*@spam.guard.caspershouse.comwrote:
Ahh, here we go. No debating what you said, just adding the KB
article that explains why using Office in a server app is a bad idea.
Specifically, it talks about ASP, but everything applies to ASP.NET as
well:

http://support.microsoft.com/default...b;EN-US;257757
Yup. Sounds like writing a .docx from scratch is the way to go. :)

Thanks for the info.

Pete
Jan 1 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Roel | last post: by
2 posts views Thread by lsg | last post: by
2 posts views Thread by asp.net | last post: by
2 posts views Thread by =?Utf-8?B?TWFkaXNvbg==?= | last post: by
4 posts views Thread by =?Utf-8?B?U1VOTlk=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.