Hi everyone !
I have a simple question ... I think LOL
I have : a C# Windows Form App that inserts, updates and retrieves information from an SQL Database. I've found a lot of useful information on the forums here and so far, the project is going pretty well. I don't plan on selling it or distributing it btw, it's just for my small business. I was even able to program a POS that transfers data to my accounting software.
So.. the project is almost over, but now I'd like to be able to print my contracts and invoices. I have a contract template (that I fill out by hand at the moment), it's in .doc
I'd like to know what the best (invisible and silent) way to insert data in my documents would be. By invisible and silent, I mean I don't want like Word to open and have to click print in there.
I'd just like to push a print button, fetch the data, have C# insert it into the template and print it.
So far, I know I have to build a template doc file (save it in which format?)
I've read posts and a little MSDN about using this:
WordApplication.ActiveDocument.Bookmarks["BookmarkName"] .
but I can't figure out if I'll get the results I want with that.
Once again, thank you very much for the help. I can't say enough about how much I appreciate it.
I'm looking around the new posts and trying to help people if I can, but I'm still a "noob". I'll get there someday and be I"ll be able to help back *promise*