Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving Word Doc to MemoryStream Or some other way
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01054426
Message ID:
01055204
Views:
19
Hi,

Thought this is .NET - where does classic ASP come into it ?

Anyway, could you just use oDoc.SaveAs("somefile.doc") as suggested and send this as the response. e.g.:
Response.ClearContent();
Response.ClearHeader();
Response.ContentType = "application/ms-word";
Response.WriteFile("somefile.doc");
Response.Flush();
Response.Close();
Of course you'd need some type of unique file naming to prevent client conflicts...
HTH,
Viv



>My Goal is :
>
>Do a find and Repalce on a Document, Capture the Changed data, then send the final result back to an ASP classic page. this page will then display the standard Open WinWord application, Save file, etc...
>
Previous
Reply
Map
View

Click here to load this message in the networking platform