这是加载.net dll注册到注册表的代码
来源:互联网 发布:2015年进出口数据统计 编辑:程序博客网 时间:2024/05/21 17:58
// Assembly t_assembly = Assembly.GetAssembly(typeof(Form_login));
// Assembly asm = Assembly.LoadFile(System.IO.Path.GetDirectoryName(t_assembly.Location) +"\\OverlayIcon.dll");
// // MessageBox.Show(System.IO.Path.GetDirectoryName(t_assembly.Location) + "\\OverlayIcon.dll");
// //Assembly asm = Assembly.LoadFile(@"D:\work\yxz\windows\yxz\bin\Release\OverlayIcon.dll");
// RegistrationServices regAsm = new RegistrationServices();
// bool bResult = regAsm.RegisterAssembly(asm, AssemblyRegistrationFlags.SetCodeBase);
//Assembly asm1 = Assembly.LoadFile(System.IO.Path.GetDirectoryName(System.IO.Path.GetDirectoryName(t_assembly.Location) + "\\ShellExtContextMenuHandler.dll"));
// // Assembly asm1 = Assembly.LoadFile(@"D:\work\yxz\windows\yxz\bin\Release\ShellExtContextMenuHandler.dll");
// RegistrationServices regAsm1 = new RegistrationServices();
// bool bResult1 = regAsm1.RegisterAssembly(asm1, AssemblyRegistrationFlags.SetCodeBase);
// //if (bResult)
// //{
// // MessageBox.Show("注册成功1");
// //}
// Assembly asm = Assembly.LoadFile(System.IO.Path.GetDirectoryName(t_assembly.Location) +"\\OverlayIcon.dll");
// // MessageBox.Show(System.IO.Path.GetDirectoryName(t_assembly.Location) + "\\OverlayIcon.dll");
// //Assembly asm = Assembly.LoadFile(@"D:\work\yxz\windows\yxz\bin\Release\OverlayIcon.dll");
// RegistrationServices regAsm = new RegistrationServices();
// bool bResult = regAsm.RegisterAssembly(asm, AssemblyRegistrationFlags.SetCodeBase);
//Assembly asm1 = Assembly.LoadFile(System.IO.Path.GetDirectoryName(System.IO.Path.GetDirectoryName(t_assembly.Location) + "\\ShellExtContextMenuHandler.dll"));
// // Assembly asm1 = Assembly.LoadFile(@"D:\work\yxz\windows\yxz\bin\Release\ShellExtContextMenuHandler.dll");
// RegistrationServices regAsm1 = new RegistrationServices();
// bool bResult1 = regAsm1.RegisterAssembly(asm1, AssemblyRegistrationFlags.SetCodeBase);
// //if (bResult)
// //{
// // MessageBox.Show("注册成功1");
// //}
- 这是加载.net dll注册到注册表的代码
- 怎么注册DLL到注册表
- .net 注册引用的dll
- .NET连接到Oracle的oci.dll加载错误解决方案
- .net写好的dll如何加载到autodesk中
- CAD.net 写注册表自动加载插件dll
- regasm注册.net下的dll
- .net 注册引用的dll [转]
- regasm注册.net下的dll
- regasm注册.net下的dll
- asp.net oracle 无法加载 DLL (oci.dll) 无法加载 DLL (oci.dll) 未将对象引用设置到对象的实例,解决方法
- 注册dll到系统
- 注册VB.NET dll
- net dll 循环注册
- C#加载C++的dll项目如何才能跟踪到C++的代码
- dll注册加载失败解决方法
- .net无法加载oci.dll的解决办法
- 注册DLL。(其实这个是修复IEDLL的呵呵)
- java事物
- 介绍(javascript调试)
- 110303 Common Permutation
- EGORefreshTableHeaderView,EGORefreshTablefooterView
- 多重背包题集(HD2844,HD2191,HD1059)
- 这是加载.net dll注册到注册表的代码
- Android开发当中Parcelable接口的使用(序列化)
- 求两个日期之间的数据
- Python字典、列表排序
- 各种资源网站
- android 不改变布局的情况下,增加可点击区域
- 第一次
- 1Android调用系统图库2读写文件
- gvim设置