Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML to HTML conversion in Word 2007

From: "Joe Fawcett" <joefawcett@---------.------>
To: NULL
Date: 10/11/2007 8:51:00 AM

"jlawrence" <jlawrence@d...> wrote in message 
news:C7C23E0C-96C0-435C-985C-1DFACB4382F9@m......
>I am converting an application we use to edit text and write it back to an 
>MS
> SQL DB through a com object. The current environment is in Office/Word 
> 2000
> using
> VBA and we are moving this to VS2005 to VSTO2005SE Office/WORD 2007
>
> One of my requirements is to write back HTML to the SQL DB and I was able 
> to
> do so using this command in VBA.
>
> MyStr = ActiveDocument.HTMLProject.HTMLProjectItems(1).Text
>
> Does anyone have a suggestion on how to perform the same operation with 
> .NET
>
> -- 
> Jeff Lawrence
> McClatchy Washington

If you're going to post the same question to multiple groups please post 
simultaneously not one at a time.

Originally I thought you meant that you could save the whole document as 
HTML and you retrieved that code, now I think you mean you had an HTML 
division in the project and you retrieved that markup. Is that right? And 
you want to have an HTML division in Word 2007 the same way?

-- 

Joe Fawcett (MVP - XML)
http://joe.fawcett.name






transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent