简体   繁体   English

编程Visio ActiveX控件

[英]Programming Visio ActiveX control

My task is to use Microsofts Visio ActiveX control (Visio Viewer) to visualise a Visio document in a web page and to catch the events generated by user clicks. 我的任务是使用Microsoft的Visio ActiveX控件(Visio Viewer)可视化网页中的Visio文档,并捕获用户单击生成的事件。

My immediate problem is to generate the AxVisOcx assembly. 我的直接问题是生成AxVisOcx程序集。 Explained below: 解释如下:

ActiveX control wrapper assembly that allows the control to be embedded within a Windows Form ActiveX控件包装程序集,使控件可以嵌入Windows窗体中

Im trying to follow the instructions on this page but the step where I actually generate the ActiveX control wrapper is not explained. 我试图按照此页面上的说明进行操作,但未解释我实际生成ActiveX控件包装程序的步骤。 I have tried installing the Visio Viewer and running the aximp.exe on the vviewer.dll but it says the the dll does not include an ActiveX control. 我尝试安装Visio Viewer并在vviewer.dll上运行aximp.exe,但是它说dll不包含ActiveX控件。

So my questin is, how do get hold of the .ocx or the .dll file for the MS Visio ActiveX control which I then can run in aximp.exe to be able to use in my Visual Studio project? 因此,我的问题是,如何保留MS Visio ActiveX控件的.ocx或.dll文件,然后可以在aximp.exe中运行该控件以便在Visual Studio项目中使用?

I found a better instruction for the Visio Viewer 2007 here . 我在这里找到了有关Visio Viewer 2007的更好说明。

AxImp generated two dll files, AxVisioViewer.dll and VisioViewer.dll. AxImp生成了两个dll文件AxVisioViewer.dll和VisioViewer.dll。 I really hope this solves my problem! 我真的希望这能解决我的问题!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM