English 中文(简体)
我愿预约一份有关形式的文件。
原标题:I d like to preview a Word document on form

最新情况2:现在,我正在考虑以html格式保存一份文件的临时副本,以显示该文件,但这却使我的想法化为乌有,表明用户的实际时间对文件产生影响。 在每一种特性投入中重新注入和重载浏览器,这种做法只是坏的做法。 因此,我认为现在这样做可能不切实际。 我会随时听从可能出现的任何答案。 感谢您的帮助。

最新情况1:WebBrowser为PDF而工作,但出于某种原因没有文件。 该文件不是在浏览器控制中显示,而是在字面上开放。 这显然是在业务系统中必须提交方案协会的文件,但我却不单靠自己的机器进行节目制作。 因此,我要么需要围绕工作,要么需要以方案方式改变环境。

有趣的是,当我右边点击一个狗,点击“开放”和选择因特网探索者时,它打开了Word。

原件问题:

I m writing a VB program that fills in values within a word document. I m utilizing the Microsoft Word 12.0 Object Library as a Reference.

I d like to provide a scrollable preview pane to my user that is within the form he or she is using. It would be even cooler if the user could edit the document through this pane.

I ve done Interop extensively, so I m well aware of how to write and edit a Word document. I just want to put it into a frame and preview it. I ll probably try to select around the document based on what is changing as the user provides input so they can see what s being changed and where. Thoughts?

增 编

最佳回答

奥凯,我回答我自己的问题,但把那些试图回答的人说平。 我决定,最佳解决办法是实际开放文字文件,但保留我的形式最优的财产。 然后,我可以把我的形式放在上,显示正在编辑的文件,并选择每一点被操纵。 这实际上完成了我之后的工作。

感谢在此提供答案的人。 他们导致我学习了相当一部分 st。

问题回答

印刷版预约没有这样做吗?

Edit: 删除了先前的答复,因为没有得到MS的建议。

该条谈到利用网络浏览器控制来开放外来文件。

http://support.microsoft.com/kb/304643/





相关问题
Is Shared ReadOnly lazyloaded?

I was wondering when I write Shared ReadOnly Variable As DataType = New DataType() Or alternatively Shared ReadOnly Variable As New DataType() Is it lazy loaded or as the instance initializes? ...

Entertaining a baby with VB.NET

I would like to write a little application in VB.NET that will detect a baby s cry. How would I get started with such an application?

Choose Enter Rather than Pressing Ok button

I have many fields in the page and the last field is a dropdown with list of values. When I select an item in a dropdown and press Enter, it doesn t do the "Ok". Instead I have to manually click on Ok ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

Hover tooltip on specific words in rich text box?

I m trying to create something like a tooltip suddenly hoovering over the mouse pointer when specific words in the richt text box is hovered over. How can this be done?

热门标签