如何解决这个问题呢 ?请帮我..\ [英] how to solve this problem ? please help me..\

查看:66
本文介绍了如何解决这个问题呢 ?请帮我..\的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您尝试从最近使用过的文件列表中打开文件,请确保该文件尚未重命名,移动或删除。

If you are trying to open the file from your list of most recently used files, make sure that the file has not been renamed, moved, or deleted.

推荐答案

错误非常明确:您尝试打开的文件不存在。



这意味着您要么尝试打开错误的文件,你试图在错误的文件夹中打开它,或者你没有;首先写它。



所以使用调试器,看看在您的代码中,找出文件名和路径是什么。当你知道的时候,你可以玩追捕文件,看看哪种错误可能。



但是我们无法帮助你! :笑:
The error is pretty explicit: the file you are trying to open does not exist.

This means that either you are trying to open the wrong file, you are trying to open it in the wrong folder, or you didn;t write it in the first place.

So use the debugger, look at your code, and find out what the file name and path is. When you know that, you can play "hunt the file" and see which of the various possibilities is wrong.

But we can't help you with any of that! :laugh:


这是这样的: https://msdn.microsoft.com/en-us/library/system.io.file.exists%28v=vs.110%29.aspx [ ^ ]。 :-)



将您最近的文件列表放在某个菜单项或列表中,这样您就可以执行检查并在运行时形成集合,所以在点击的时刻只显示有效的条目。



-SA
This is how: https://msdn.microsoft.com/en-us/library/system.io.file.exists%28v=vs.110%29.aspx[^]. :-)

Put your list of recent files in some menu item or list so you could perform the checkup and form the set if items on the fly, so at the moment of click only valid entries are shown.

—SA


这篇关于如何解决这个问题呢 ?请帮我..\的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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