我想实现一个功能:增加一个开机自动运行的程序,我知道要在HKEY_LOCAL_MACHINE\MICROSOFT\WARESOFTWARE\Microsoft\Windows\CurrentVersion\Run(没有写错吧)增加一个表项,可是这个.reg的文件格式是什么样的?能不能给个例子呢?,比如我想把c:\a.exe设置为开机运行。
解决方案 »
- 做两个稍有不同的Dialog,如何减少重复开发?给点意见
- 修改图片DP之后,要放大到多少象素,打印出来的才和原来的大小一样
- telenet的实现原理?
- 多维的CStringArray的定义要与CArray模板类一起使用//这种定义多维的<>的使用格式是按照什么原理定义的?
- CListView的一个问题?
- SOS!!我快被我的破电脑搞崩溃了!高手救我!!!!!!!!!
- 在vc的向导的帮助下生成的类,同样是public,有的前面加上// Attributes有的加上// Operations,表示什么意思?哪些函数应该放在// Attrib
- opengl问题?????
- 如何用vb在mmc中实现添加项目,注册mts组件
- 关于CDialogBar的一个小问题
- 一个小的关于打开BMP位图的程序的报错
- LNK2001错误,请路人帮忙指点!
; This .REG file may be used by your SETUP program.
; If a SETUP program is not available, the entries below will be
; registered in your InitInstance automatically with a call to
; CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.HKEY_CLASSES_ROOT\.sqr = Color.Document
HKEY_CLASSES_ROOT\Color.Document\shell\open\command = COLOR.EXE %1
HKEY_CLASSES_ROOT\Color.Document\shell\open\ddeexec = [open("%1")]
HKEY_CLASSES_ROOT\Color.Document\shell\open\ddeexec\application = COLOR
; note: the application is optional
; (it defaults to the app name in "command")HKEY_CLASSES_ROOT\Color.Document = Color Document
"IMJPMIG8.1"="\"C:\\WINDOWS\\IME\\imjp8_1\\IMJPMIG.EXE\" /Spoil /RemAdvDef /Migration32"
"PHIME2002ASync"="C:\\WINDOWS\\system32\\IME\\TINTLGNT\\TINTSETP.EXE /SYNC"