editing and printing .doc file
hi. im not an expert in C#... more a newbie. I need some help on C#. I want to, when a button is clicked, to open a .doc file, which already exist, and edit it in the middle of the document and add some text (the players name). the word file would already inlude a graphic image and everything would look like a diploma. is it even possible? an then to print that file?
sorry for my bad english:S
greetz,
Matjaz
MatjazPosted Jan 29, 2008, 8:48 AM
Scott LyslePosted Jan 29, 2008, 1:48 AM
It is possible but, based upon the description, you might find it less of a headache to just use an RTF document. You have described a simple document with an image and some editable text and you can do that much with an RTF.
Take a look at this, it addresses managing the content of an RTF in C#.
http://www.c-sharpcorner.com/UploadFile/scottlysle/WordProcessor02042007234628PM/WordProcessor.aspx?ArticleID=28d83287-c96b-420c-b608-d714fbd0f8c5