将VB.Net EXE表单值导出到客户端PC上的word doc [英] Export VB.Net EXE form values to word doc on client PC

查看:67
本文介绍了将VB.Net EXE表单值导出到客户端PC上的word doc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

早上的男人和女孩



我被困在一块岩石和一块坚硬的岩石之间地方,我会很感激任何类型的帮助。



我创建了一个.EXE,通过电子邮件发送/写入CD,然后发送到网站外的客户端。 />


程序将客户端填入文本框的一些值执行几次计算,然后在其他几个文本框中给出客户端结果。



然后我导出/生成包含所有这些文本框值的临时办公室文档文档,打印文档然后删除word文件。原因是我们不希望数据副本可用,因为客户端可能会更改文档。



现在这一切都在我的电脑上运行良好,因为它应该。然后我在办公室的其他电脑上尝试了它,发现有些没有运行.Net 3.5框架并且必须安装才能运行,我通过将.Net 3.5框架附加到cd或电子邮件发送到客户端来整理。



然后我又得到了一个错误...这引用了'Microsoft.Office.Interop.Word',据我所知是序列号/版本号问题等等等等等等。我已经读过您可以下载此修复程序,但事情是我不希望客户端在他们可以使用该程序之前下载10修复程序,它必须是打开,使用,打印,关闭,完成。 />


我还能做些什么来将信息导出到包含徽标等图形的文档,打印文档然后删除?

解决方案

您可以查看:

http://netoffice.codeplex.com/documentation

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?

解决方案

You can check this:
http://netoffice.codeplex.com/documentation


这篇关于将VB.Net EXE表单值导出到客户端PC上的word doc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆