另存为网页(* .htm,*。html)选项在Visio 2016 Professional中出现错误“创建文件时出错” - 64位单击以运行安装。 [英] Save as Web Page(*.htm,*.html) option gives error 'There was an error creating a file' in Visio 2016 Professional - 64-bit click to run installation.

查看:222
本文介绍了另存为网页(* .htm,*。html)选项在Visio 2016 Professional中出现错误“创建文件时出错” - 64位单击以运行安装。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在使用Microsoft Visio-2016 interop dll在.NET Windows应用程序中使用visio的"另存为网页"功能。我使用'VisUICmds.visCmdFileSaveAsWebPage'命令打开'另存为'对话框。在对话框中,当"保存类型"被选为"网页(*。htm,*。html)
然后单击"保存"按钮时,它会显示错误"创建文件时出错"。  我观察到的一件事是'另存为'dilaog - >发布选项 - >高级 - >输出格式下拉值为空白。我不确定这是否会造成
问题。相同的代码正在使用Visio 2007,2010,2013,2016-32位和2016 64位(MSO),Visio 2016-64位(点击运行)除外。  作为VisCmds的替代品,我尝试过SaveAsWeb Visio插件来创建网页,但是我在CreatePages()函数中得到
相同的错误。 有人可以帮我这个吗?

I am using Microsoft Visio-2016 interop dll to use visio's 'Save as Web Page' functionality in .NET windows application. I am using 'VisUICmds.visCmdFileSaveAsWebPage' command to open 'Save As' dialog. In dialog, when 'Save as type' is selected as 'Web Page(*.htm,*.html) and then 'Save' button is clicked , it gives error 'There was an error creating a file'.  One thing I observed is 'Save as' dilaog -> Publish options->Advanced-> Output formats dropdown values are blank. I am not sure whether is this creating a problem. The same code is working with Visio 2007, 2010, 2013, 2016- 32-bit and 2016 64-bit (MSO) except Visio 2016-64-bit(click-to-run).  As an alternative to VisCmds, I have tried SaveAsWeb Visio add-on to create the web pages also however I am getting same error at CreatePages() function. Can someone help me with this?

推荐答案

您好AK,

根据您的描述,我测试过我的环境和我的环境中的这个问题是Visio版本1609 Build 7369.2130,我没有遇到你的问题。

Based on your description, I tested this problem in my environment and my environment is Visio Version 1609 Build 7369.2130, I didn't get your problem.

>>我观察到的一件事是'另存为'dilaog - > ;发布选项 - >高级 - >输出格式下拉值为空。<<请尝试手动保存,然后转到 另存为对话框并检查输出是否为空。

>>One thing I observed is 'Save as' dilaog -> Publish options->Advanced-> Output formats dropdown values are blank.<< Please try to save manually, go to save as dialog and check if the output is blank.

我建议您安装最新版本的Office,任何更新请告诉我很乐意帮助你。

I suggest you install the latest version of Office, any updates please let me know I'm glad to help you.


这篇关于另存为网页(* .htm,*。html)选项在Visio 2016 Professional中出现错误“创建文件时出错” - 64位单击以运行安装。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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