本文介绍了用C尖锐代码删除oracle9i的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尊敬的先生/女士
我要创建一个项目,该项目是删除或卸载注册表中的oracle9i,
如果可能的话?
如果是,那么请帮助我
Dear sir/madam
I want to make a project, which is delete or uninstall the oracle9i in the registry,
if it is possible?
if yes then please help me
推荐答案
//Registry Value
string keyName = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run";//Path of Key,You can specify full path
using (RegistryKey key = Registry.CurrentUser.OpenSubKey(keyName, true))
{
if (key == null)
{
// Key doesn't exist. Do whatever you want to handle
// this case
}
else
{
key.DeleteValue("Value");
}
}
这篇关于用C尖锐代码删除oracle9i的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!