如何将数据从文本框(vb.net)导出到文本框(Word 2010)? [英] How To export data from textbox (vb.net) to textbox (Word 2010)?

查看:103
本文介绍了如何将数据从文本框(vb.net)导出到文本框(Word 2010)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将数据从vb.net中的文本框导出到Word 2010中的文本框,这个word文档将在模板中,每次执行此操作时都会创建一个新文档,并创建所述模板文件名即1.dox等。谢谢



很抱歉很难解释,我希望存储在vb.net表单上的文本框中的信息一旦按钮被导出就会导出到文本框中点击了。此文档将存储为空白模板,以便每次执行上述操作时,都会创建一个新文档,其中包含来自vb.net中文本框的信息。

How would I export data from a textbox in vb.net to a textbox in Word 2010, this word document would be in a template were every time this operation is carried out a new document with said template is created, with a new filename i.e. 1.dox and so on. Thanks

Sorry its difficult to explain, I want information stored in a textbox on a form in vb.net to be exported to a textbox in word once a button has been clicked on. This document would be stored as a blank template so that each time the operation I have described above is carried out a new document would be created containing the information from the textboxes in vb.net.

推荐答案

我建​​议你从这里开始:使用文档中的文本 [ ^ ]



我认为你不需要Word文档中的TextBox。所有你需要的是一个书签:如何:以编程方式更新书签文字 [ ^ ]
I would suggest you to start here: Working with Text in Documents[^]

I think you don't need TextBox in Word document. All what you need is a bookmark: How to: Programmatically Update Bookmark Text[^]


这篇关于如何将数据从文本框(vb.net)导出到文本框(Word 2010)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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