C#.net中的Windows注册表 [英] Windows registry in C#.net

查看:72
本文介绍了C#.net中的Windows注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
我是C#.net的新手.我在C#.net中使用Windows注册表.我的任务是右键单击事件".这意味着我的exe将在右键单击事件中工作.因此,我将exe路径存储在"Windows注册表"中.我已经用两种方法测试了编码.
1).项目属性中的命令行参数.
2).右键单击文件.我的项目将运行.
在第一种方式中,处理速度非常快.但是在第二种方式中,处理时间很长.我使用的是相同的编码.但是,为什么第二种方式需要很长时间?请给出任何想法.
谢谢
问候,
Lakshmi narayanan.S

Hi Friends,
I am New in C#.net. I am using Windows registry in C#.net. My task is "Right Click Event".that means in my exe will work in Right Click event.So I am storing my exe path in "Windows Registry".I have tested a coding in two way .
1).Command Line Argument in Project Property.
2).Right Click On the File.My Project will run.
In First way,processing is Very fast.But in Second way it takes long time.I am using same coding.But why does second way take very long time?Please give any idea.
Thanks
Regards,
Lakshmi narayanan.S

推荐答案

在我的文章"中有类似的regedit条目对其进行检查.
带有MCI的媒体播放器 [
In My Article there is similiar regedit entries Examine it.
Media Player With MCI[^]
Especially Examine Player.cs


这篇关于C#.net中的Windows注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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