Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help with word document

Status
Not open for further replies.

gatvolgesukkel

Programmer
Apr 12, 2012
2
ZA
My English is not good (Sorry)!
I using visual studio 2010 word 2010 project and want to create a report from sql data. I got that app to work fine but soem of my data is htm so i want the data to display on the word doc. I can use the AddWebBrowser control to display the data but that control have no auto size any idees or more questions
 
More info
I am use this code to create the doc
Word.Paragraph oPara1;
oPara1 = Content.Paragraphs.Add();

oPara1.Range.Text = "text come sql database in this format" <div class="ExternalClassB600AA6D5FC84504A943EF261337892A"><p style="font-family:arial;font-size:10pt">​​Comply with the cross functional description in Service Operations Services - Release Management</p></div>

i want to display that or word document i can use the AddWebBrowser control but that control have no autosize on is so that will leave spaces
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top