使用C Sharp的Microsoft Word Viewer [英] microsoft word viewer using c sharp

查看:111
本文介绍了使用C Sharp的Microsoft Word Viewer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须提交我的大学项目.

我需要你的帮助吗?
我的项目是,首先我想使用wordviwer打开word文件的以下路径,然后使用hv将分页符将wordfile分成2000页.

现在我必须控制单词查看器中断页面,例如,我只选择按钮1,这样,如果我单击任何其他按钮200,则页面中断1将打开,因此页面中断200.

我想说我想通过编写程序来控制WORDVIEWER BREAKPAGE,并提供没有页面的信息,因此pagbreakno将打开.请帮助我,每一步都给我,因为我不喜欢使用库.定义我的项目中的所有内容

I have to submit my university project.

so i need your help?
my project is that first i want to open word file using wordviwer for the following path of word file and i hv break wordfile into 2000pages using page break which i hv done.

now i have to control word viewer break pages like for example i just select button 1 so page break1 will open,if i click any other button200 so page break 200.

I MEAN TO SAY I WANT TO CONTROL WORDVIEWER BREAKPAGE BY writing in programing and give page no so pagbreakno will open.plz help me,give me each n every step because i dnt knw hot to use library. define everything abt my project

推荐答案

MSWord Interop .NET程序集可帮助您执行操作.启动WordView时,执行以下代码:

MSWord Interop .NET Assembly helps you to perform the operation. On launching WordView, execute the below code:

System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo("WORDVIEW.exe", fileName.ToString()); System.Diagnostics.Process.Start(info);



作为替代方案,Aspose.Words旨在允许Office自动化,而无需依赖于已安装Word.



As an alternative, Aspose.Words is designed to allow for Office automation without any dependencies on having Word installed.


检查这些博客
http://stackoverflow.com/questions/1291305/ms-word-viewer- c-sharp-net-automation [ ^ ]
http://www.ocxt.com/archives/40 [
check these blogs
http://stackoverflow.com/questions/1291305/ms-word-viewer-c-sharp-net-automation[^]
http://www.ocxt.com/archives/40[^]
--NDK


这篇关于使用C Sharp的Microsoft Word Viewer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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