0

could any one please help me with the code for creating a MS word document from a record that already exists in the database using vb.Net coding..
thank you in advance

3
Contributors
2
Replies
7
Views
10 Years
Discussion Span
Last Post by BigFatMama
0

could any one please help me with the code for creating a MS word document from a record that already exists in the database using vb.Net coding..
thank you in advance

hai,
try using crystal report it is very simple as we desin a form in vb.net
you can export the content to pdf , xls, and many more formats
no other software needed

0

It is much easier to do it in a way that you design some kind of “tagged” template first – including all your tables and then from the code process/populate these “tags” with your data (mail merge). If your app is running on the server side, then you should not use COM Interop for this purpose but OpenXML SDK is recommended (http://blogs.msdn.com/b/atverma/archive/2011/12/31/utility-to-generate-word-documents-from-templates-using-visual-studio-2010-and-open-xml-2-0-sdk.aspx).
You can also check third parties for mail merge like Aspose or Docentric.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.