473,320 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Trouble displaying WordML document

Hi,
I am using the following code to try and send a WordML document to the
client. The expectation is that MS Word will open and display the data
correctly. Instead, I see the source code open up on a Web Form. What am I
not doing right? Any help would be appreciated.
Thanks,
Meena

Dim xmlDoc As New XmlDocument
xmlDoc.Load("D:\VisualStudioProjects\TestXML\TestX ML\bin\HelloWorld.xml")
'Response.ClearHeaders()
Response.ContentType = "application/word"
Response.Write(xmlDoc.OuterXml)

Nov 12 '05 #1
0 915

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tom Frey | last post by:
Hi, is there any solution available for transforming WordML XML files to PDF on server requests. Here is basically what I'm looking for: We have like 15 different types of contracts that have...
5
by: Clifford W. Racz | last post by:
Has anyone solved the issue of translating lists in Word 2003 (WordML) into xHTML? I have been trying to get the nested table code for my XSLT to work for a while now, with no way to get the...
0
by: Logician | last post by:
Can anyone point me in the right direction for XML creation from WordML, after using a JPEG/OCR? Problem ======= 1. The WordML has font tags, and I need just data tags for reading by ..NET ...
0
by: Altsoft Xml2PDF | last post by:
Xml2PDF formatting engine version 2.3 May 25, 2004 Altsoft N.V. Altsoft N.V. is proud to announce the release of version 2.3 of its Xml2PDF formatting engine. The update includes: -...
0
by: Matthias Langbein | last post by:
Hi all, in ref. to the MSDN-Article "New XML Features of the Microsoft Office Word 2003 Object Model"...
0
by: JD | last post by:
Hello: I am trying to put together a solution that would programmatically insert XML data into a WordML document. I am trying to do this through a web page when a user clicks on a link. For...
0
by: Skunker | last post by:
hi, when I read a file, ReadOuterXml() returns sometimes an empty string and somestimes not. does anyone have a clue? here´s a part of the code, i hope i helps: // used to parse wordML Tables...
1
by: Biff | last post by:
I have a WordML file that I want to render in the browser in word via ASP.NET. If I use Response.Redirect("filename.xml") in the ASP.NET codebehind I can get it to work. I would prefer to use set...
1
by: Pedro Rosas Silva | last post by:
Hi everyone, Is anybody aware of a way how to insert an image in a WordML document programmatically, through C#? I have a C# application that loads into memory a WordML document...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.