
Automatic Generate a word-document from VB
Quote:
> I want to generate a document in Word-format from a progam implemented
> in VB. One friend of mine suggest me to use the RTF-format, but I think
> its better when I could directly generate it. There should be only some
> table, tilte, topline and bottomline in the document which come from a
> database as a report of query in the VB-program.
Are you using
Crystal Reports? Crystal Reports gives the ability to
export to Word format. You can then automate this through code so the
report is exported directly to a file. Make sure you have the latest
versions of the export dlls.
If you wanted to generate the file yourself, it would probably be pretty
straight forward to generate an RTF or HTML file.
Brent Langdon, Software Engineer
Sequel Technology, http://www.sequeltech.com
(remove "nospam" to reply directly)