Click here to Skip to main content
15,891,703 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Morning guys and girls

I'm stuck between a rock and a hard place and I would appreciate any type of help.

I have created an .EXE to be emailed/written to cd and then given to a client off site.

The programme takes some values filled into textboxes by the client to perform a couple of calculations and then, in a couple of other textboxes give the client results.

I then export/generate a temporary office word document that contains all these textbox values, print the document and then deletes the word file. The reason is that we don't want digital copies of results available, since the client just might change the document.

Now this all work well on my pc as it should. I then tried it on other pcs in the office and found that some are not running the .Net 3.5 framework and has to be installed to run, this I sorted out by attaching the .Net 3.5 framework to the cd or email to the client.

Then I got another error... This makes reference to 'Microsoft.Office.Interop.Word' which I understand to be a serial number/version number problem blah blah blah. I have read that you can download the fix for this but the thing is I don't want the client to download "10" fixes before they can use the programme, it must be open, use, print, close, done.

What else can I do to export information to a document containing graphics like logos etc, print the document and then delete?
Posted
Comments
_Vitor Garcia_ 7-Feb-13 6:36am    
Instead of working with MS Word, could you produce a PDF file ?
JacquesGrobler 7-Feb-13 6:40am    
I can have a pdf, but if the client only has a "pdf printer", can this still be done? It doens't matter what means, as long as it works and as long as the client doesn't require any additonal software to operate the programme.

Then the next question is, can .Net alter an existing pdf?
_Vitor Garcia_ 7-Feb-13 7:10am    
You can create a PDF file from scratch. Take a look here http://www.codeproject.com/Questions/160004/how-to-create-pdf-file-in-vb-net
CHill60 7-Feb-13 6:41am    
Could you produce an RTF file?
JacquesGrobler 7-Feb-13 6:44am    
What is an RTF file? Can it incorporate company logos, other text than what is in the exe?

1 solution

 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900