jiangtiandao / smarthosts

Automatically exported from code.google.com/p/smarthosts
0 stars 0 forks source link

Run-time error ‘53’ #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
版本:SmartHosts_Alpha2 (GUI版)
操作:启动主程序即alert出此MessageBox

MessageBox描述:{title:SmartHosts,message:Run-time error '53':File not found}

建议:
    目前不知道此程序使用什么方式寻找hosts文件,正规做法应该是从注册表中获取正确的hosts文件路径。
    出现此error是因为我的计算机上hosts文件不存在,所以我觉得当发现hosts文件不存在的时候应当创建hosts文件,而不是抛出异常。

Original issue reported on code.google.com by lyzane...@gmail.com on 2 Nov 2011 at 1:32

GoogleCodeExporter commented 9 years ago
了解,程序是读取系统环境变量获取路径的。
下次更新时会处理这个问题的。感谢反馈。

Original comment by azly...@gmail.com on 3 Nov 2011 at 4:19

GoogleCodeExporter commented 9 years ago

Original comment by azly...@gmail.com on 12 Nov 2011 at 12:51