尝试打开文件时出现问题 [英] problem when try to open file

查看:94
本文介绍了尝试打开文件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我正在使用VB 2010 Ultimate创建一个简单的文本编辑器.我可以在其中编写文本并将其保存为.ppn文件,也可以打开.ppn文件.我构建程序并从与我一起保存的应用程序文件夹中创建快捷方式VB并尝试写一个文本,保存然后用我的程序打开它.它工作正常.我用inno创建了一个安装文件,然后将其安装在笔记本电脑上.我运行了刚与该安装文件一起安装的程序,写一些文本并将其保存为.ppn文件.然后我右键单击刚创建的文件(.ppn),单击打开方式,它显示我可以使用VB中的程序打开它.'' s的文件夹,如果我单击它的工作.但是,如果将VB的文件夹移到另一个位置并右键单击该文件,则可以打开,选择我的程序进入[\ program files \ my program \ my program.exe]将无法打开.任何想法为什么会发生这种情况?感谢您的帮助.
忘了告诉你,如果我将用程序创建的.ppn文件拖放到程序的图标上,则会正常打开.

hello,
I am using VB 2010 ultimate to create a simple text editor.I can write text in it and save it as a .ppn file and open .ppn files also.I build my program and create a shortcut from the application folder that i saved with VB and try to write a text ,save it and then open it with my program.It works fine.I create a setup file with inno and then install it on my laptop.I run my program that i just installed with the setup file, write some text and save it as a .ppn file.Then i right-click the file that i just created (.ppn) ,click on open with and it shows me that i can open it with the program that is in VB''s folder''s and if i click it its working.But if move the VB''s folder into another location and right-click that file, go to open with,select my program that is into [\program files\my program\my program.exe ] then it won''t open.Any ideas why is this happening ? Appreciate your help.
Forgot to tell you that if i drag and drop the .ppn file that i have created with my program onto my program''s icon then it open norlamly.

推荐答案

除此之外,您还必须添加一些注册表值,因此应使用此exe打开此扩展名.
那就可以了.
Apart from that you have to add some registry values, so as this extension should be opened with this exe.
then it will work fine.


这篇关于尝试打开文件时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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