OpenFileDialog.SafeFileName问题
来源:互联网 发布:程序员宣传片百度网盘 编辑:程序博客网 时间:2024/05/28 23:20
前几天帮人做了个小软件,发给用户后,过了天便收到软件运行出错消息.当时真纳闷,在本机测试运行正常的.
错误信息如下 :
找不到方法 ”System.String
System.Windows.Forms.OpenFileDialog.get_SafeFileName()"。。
具体信息
打开源代码...找到到了OpenFileDialog.SafeFileName这句
错误信息如下 :
找不到方法 ”System.String
System.Windows.Forms.OpenFileDialog.get_SafeFileName()"。。
具体信息
打开源代码...找到到了OpenFileDialog.SafeFileName这句
由filename1= openFileDialog1.SafeFileName
改成
改成
filename1 = OpenFileDialog1.FileName.Substring(OpenFileDialog1.FileName.LastIndexOf("\") + 1)
- OpenFileDialog.SafeFileName问题
- OpenFileDialog.SafeFileName问题
- 关于OpenFileDialog的问题
- [VB.NET]OpenFileDialog问题
- 关于 OpenFileDialog 的问题
- OpenFileDialog Filter问题
- openfiledialog
- openfileDialog
- OpenFileDialog
- openFileDialog
- OpenFileDialog改变当前目录的问题
- C#中打开OpenFileDialog会改变默认路径的问题
- C# OpenFileDialog
- c# OpenFileDialog
- c# OpenFileDialog
- OpenFileDialog类
- 控件openFileDialog
- 自定义OpenFileDialog
- 一位软件工程师的6年总结——成晓旭
- Oracle PL/SQL中如何使用%TYPE和%ROWTYPE
- CallableStatement,ResultSet,ResultSetMetaData
- Communications Management
- Tomcat 系统架构与设计模式,第 2 部分: 设计模式分析
- OpenFileDialog.SafeFileName问题
- java IP 地址正则式
- system,fork,spawn
- sqlserver在触发器中执行动态sql用到inserted(deleted)表
- 【每天读点心理学书籍】20几岁要懂得的处世心理学【25】
- JVM启动参数大全
- myEclipse代码提示功能消失
- sql
- Flash Debug Player 输出日志