通过指定的已创建应用程序打开帮助 [英] HELP with opening with specified created Application

查看:69
本文介绍了通过指定的已创建应用程序打开帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是C#的新手,我的疑问是,
我创建了一种名为".asd"的新格式
如果我希望通过我的应用程序将其打开,当前该怎么办,我正在使用OpenDialogue并取消文件的内容,然后继续执行代码.
问题是,当我双击".psd"格式的文件(如".psd")时,如何打开文件,并打开Photoshop并查看其中的数据.
感谢进阶,
Mohammed Owais.

I am new to c#,My doubt is,
I have created a new format called ".asd"
if i want it to be open by my application what to do currently i am using OpenDialogue and maunupulaing the content of the file and continues with the code.
The question is how do i open my file when i double click the file with ".asd" format like ".psd" opens Photoshop and views data in it.
Thanks in Advanced,
Mohammed Owais.

推荐答案

文件扩展名关联存储在注册表中.编写此信息需要了解一些有关如何在注册表中创建和维护应用程序的知识.幸运的是,这里有一个关于Code Project的简单文章,其中包含一个简化了几乎疯狂程度的访问的项目. 链接 [
File extension associations are stored in the registry. Writing this information involves knowing a bit about how applications are created and maintained in the registry. Fortunately, there''s a simple article here on Code Project that contains a project that simplifies the access to an almost insane degree. Link[^]


您需要创建文件关联. 系统文件关联 [
You need to create a file association. System File Association[^]


这篇关于通过指定的已创建应用程序打开帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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