幽幽Net

导航

2016年8月14日 #

IE插件BHO

摘要: 一丶接口IObjectWithSite 二丶实现接口IObjectWithSite 三、安装与卸载BHO 补充说明 在win7以上操作系统,当BHO写访问本地磁盘时,BHO写访问失败(Try捕获出现异常,可看到异常信息),这是由于win7操作系统提高了安全等级所致。 但BHO还是可以写访问″C:\U 阅读全文

posted @ 2016-08-14 21:49 幽幽Net 阅读(2025) 评论(0) 推荐(0)

2016年3月5日 #

C# 网络与Cmd命令

摘要: 网络命令行: 1 - ping 2 - ipconfig 本机网络配置情况 3 - net 4 - arp 网络网卡物理/ip地址对应用 5 - tracert 列举数据报到达目标地所经过的网关 6 - netstat 路由信息 7 - nbtstat 8 - route 路由表 9 - nsloo 阅读全文

posted @ 2016-03-05 19:32 幽幽Net 阅读(383) 评论(0) 推荐(0)

2016年2月27日 #

C# 动态加载程序集dll (实现接口)

摘要: 一、程序集(接口程序集):LyhInterface.Dll namespace LyhInterface { public interface ILyhInterface { void Run(); } } 二、程序集(实现接口的程序集):LyhClassLibrary1.dll, LyhClass 阅读全文

posted @ 2016-02-27 23:05 幽幽Net 阅读(5981) 评论(0) 推荐(0)

Process类

摘要: public bool Process.Start () 启动(或重用)此 Process 组件的 StartInfo 属性指定的进程资源,并将其与该组件关联。 public bool Process.Start (ProcessStartInfo) 启动由包含进程启动信息(例如,要启动的进程的文件 阅读全文

posted @ 2016-02-27 20:30 幽幽Net 阅读(461) 评论(0) 推荐(0)

注册表信息(安装包ProductCode,设置启动运行)

摘要: 一、获取安装包ProductCode后,再获取安装包DisplayVersion,比对安装包版本,确定是否更新当前应用(重新下载安装包,并运行安装包) //获取当前应用程序的安装包的ProductCode属性值 (更多信息请查看注册表) public static string GetProduct 阅读全文

posted @ 2016-02-27 20:08 幽幽Net 阅读(1630) 评论(0) 推荐(0)

2016年2月26日 #

WinForm应用只运行一次

摘要: 一、WinForm应用只能运行一次 static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { bool createNew; //Using System.T 阅读全文

posted @ 2016-02-26 22:55 幽幽Net 阅读(566) 评论(0) 推荐(0)

2014年1月5日 #

DbProviderFactory .net数据库工厂模式

摘要: http://kb.cnblogs.com/page/72789/ 工厂模式http://www.cnblogs.com/Ruiky/archive/2012/04/19/2456784.html 大数据量处理blukcopy 阅读全文

posted @ 2014-01-05 00:01 幽幽Net 阅读(187) 评论(0) 推荐(0)