上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 参考我的VSTO之路(四):深入介绍Word开发 - Justin Zhang - 博客园 (cnblogs.com) 1、Slides (unknown member): Invalid request. Clipboard is empty or contains data which may 阅读全文
posted @ 2023-06-15 20:19 六镇2012 阅读(660) 评论(0) 推荐(0)
摘要: c# - WindowBeforeRightClick doesn't work - Stack Overflow 这是在Word 2016的2016年3月更新中修复的错误。 MS16-029: Word 2016安全更新说明:2016年3月8日 https://support.microsoft. 阅读全文
posted @ 2023-06-15 19:44 六镇2012 阅读(44) 评论(0) 推荐(0)
摘要: 转载自 作者:心存善念本文地址:https://www.cnblogs.com/xcsn/p/4678364.htm Winform /// <summary> /// 复制粘贴帮助类 /// </summary> public class ClipboardHelper { /// <summar 阅读全文
posted @ 2023-06-13 19:13 六镇2012 阅读(452) 评论(0) 推荐(0)
摘要: 以Word为例 private void AddRightMenu() { Microsoft.Office.Core.CommandBar mzBar = appWord.CommandBars["Text"]; //word文档已有的右键菜单Text Microsoft.Office.Core. 阅读全文
posted @ 2023-05-29 11:05 六镇2012 阅读(439) 评论(0) 推荐(0)
摘要: 网络上有很多格式转换的软件,但是大多要收费,这里介绍一种免费方式,使用开源的ffmpeg.exe进行格式转换。 可以在这个地址下载Download FFmpeg。 使用命令行即可将flv转成MP4 ffmpeg -i "1.flv" -c copy "1.mp4" 分享一个批处理命令,将ffmpeg 阅读全文
posted @ 2023-05-22 09:35 六镇2012 阅读(314) 评论(0) 推荐(0)
摘要: 以ppt为例,其中Path返回路径,FullName返回文件名 //ppt var FullPath= Path.Combine(Globals.ThisAddIn.Application.ActivePresentation.Path, Globals.ThisAddIn.Application. 阅读全文
posted @ 2023-05-19 15:58 六镇2012 阅读(214) 评论(0) 推荐(0)
摘要: 1、Button等自带Command属性的控件,直接绑定命令 <Button HorizontalAlignment="Left" Width="105" Height="32"Command="{Binding ClickCommand}"> <TextBlock Text="点击" Foregr 阅读全文
posted @ 2023-03-20 15:51 六镇2012 阅读(615) 评论(0) 推荐(0)
摘要: 转载自: MySQL Workbench 8.0 点击Server Status面板Could not acquire management access for administration报错问题解决 Win10安装MySQL Workbench 8.0后连接MySQL服务器后,点击Server 阅读全文
posted @ 2023-03-05 17:14 六镇2012 阅读(6179) 评论(1) 推荐(5)
摘要: WPF中ComboBox设置IsEditable="True"后,ComboBox变的可以输入文本,但是在输入@$等字符时,监听ComboBox内部样式中的TextBox的TextChanged事件(以@为例),会发现输入一次@,Text改变了3次,分别为“ ”、“@”、“@”。 记录一下 阅读全文
posted @ 2023-01-10 16:31 六镇2012 阅读(377) 评论(0) 推荐(0)
摘要: 转载于:https://cognize.me/windowsservice/ 一般来讲,用C#运行某个.exe程序,我们都会这样写: Process.Start("xxx.exe") 其中,“xxx.exe”表示我们要运行的exe的路径,Process.Start()函数有多种重载,我们这里不再赘述 阅读全文
posted @ 2022-11-29 18:11 六镇2012 阅读(1683) 评论(1) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页