如何设置默认值? [英] How to program your default?

查看:135
本文介绍了如何设置默认值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,您编写诸如安装后创建的MP3文件之类的程序,它将替换*. Windows或其他应用程序的mp3文件默认替换您的MP3图标,每个人都单击文件*. mp3以及当您阅读本文时,mp3和wma也会更加可读和*. mp3和*. wma并依次替换图标mp3,Windows中的wma和wma到mp3图标以及其他各种内容.简而言之,当人们单击它的 支持的文件时,将您的程序设置为默认程序. /b>
非常感谢您!

因为我是越南人,所以Google Translate将越南语翻译成英语.

For example, you write programs such as the MP3 file created after installation, it will replace the *. mp3 file of windows or other applications to replace your MP3 icon by default and every people click on the file *. mp3 is how and when you read this article also MP3 wma it will be more readable and *. mp3 and *. wma and will in turn replace the icon mp3, wma in windows and wma to mp3 icon and various ... In short, make your program into default when people click on the file that it supports ..
Thank you very much!!!

Vietnamese translation into English by Google Translate because I am from Vietnam.

推荐答案

您应修改适当的注册表项.
例如,请参见如何将文件扩展名与您的应用程序(Win32)关联(我知道这是一个古老的VB示例,无论如何所需的步骤都保持不变).
:)
You should modify proper registry entries.
See for instance How To Associate a File Extension with Your Application (Win32) (it is an ancient-VB example, I know, anyway the needed steps remain the same).
:)


这篇关于如何设置默认值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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