摘要: 数据库的安全是大多数数据库管理者的重大问题之一。数据库管理者经常恢复或备份数据库,这是一个很常见的场景,但事实是,成功地恢复你的数据库的新版本后,你要删除当前用户。 也许你以为只是扩大用户节点和删除的欲望用户,在这个意义上说,你是有点正确。 但是,如果你面对这样的错误: Msg 15421, Level 16, State 1, Line 1The database... 阅读全文
posted @ 2011-12-13 08:52 SpeakHero 阅读(860) 评论(0) 推荐(0) 编辑
摘要: 妈的的巴子 , 看到一个程序 要安装DirectX来处理图像和声音 我顺道研究了使用它来放音乐 1: 首先引用 MicroSoft.DirectX.dll (在C:\Windows\Microsoft.NET\Framework) 2:添加命名空间 : using Microsoft.DirectX;using Microsoft.DirectX.Direc... 阅读全文
posted @ 2011-12-12 21:40 SpeakHero 阅读(1925) 评论(0) 推荐(1) 编辑
摘要: 原来 frontpage 的 替换者 Microsoft Expression (和dreamwear 差不多界面) 非常好用 还有就是他的 Microsoft Expression Web 4 SuperPreview 进行浏览器兼容测试 非常棒 作者:qq283868910 发表于2011-12-11 0... 阅读全文
posted @ 2011-12-11 00:29 SpeakHero 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 原来 frompage 的 替换者 Microsoft Expression (和dreamwear 差不多界面) 非常好用 还有就是他的 Microsoft Expression Web 4 SuperPreview 进行浏览器兼容测试 非常棒 作者:qq283868910 发表于2011-12-11 0:... 阅读全文
posted @ 2011-12-11 00:26 SpeakHero 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 原来 frontpage 的 替换者 Microsoft Expression (和dreamwear 差不多界面) 非常好用 还有就是他的 Microsoft Expression Web 4 SuperPreview 进行浏览器兼容测试 非常棒 作者:qq283868910 发表于2011-12-11 0... 阅读全文
posted @ 2011-12-11 00:26 SpeakHero 阅读(226) 评论(0) 推荐(0) 编辑
摘要: KeysHoot.cs using System;using System.Collections.Generic;using System.ComponentModel;using System.Diagnostics;using System.Linq;using System.Text;using System.Runtime.InteropServices;us... 阅读全文
posted @ 2011-12-07 18:26 SpeakHero 阅读(402) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices;using System.Windows.Forms;//CoreAudioApi支持Vista/Win7,下面的代码 是最早的API... 阅读全文
posted @ 2011-12-07 15:58 SpeakHero 阅读(434) 评论(0) 推荐(0) 编辑
摘要: BOOL=System.Int32 BOOLEAN=System.Int32 BYTE=System.UInt16 CHAR=System.Int16 COLORREF=System.UInt32 DWORD=System.UInt32 DWORD32=System.UInt32 DWORD64=System.UInt64 FLOAT=System.Float HACC... 阅读全文
posted @ 2011-12-05 22:00 SpeakHero 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 在外国一个博客中看到的 转载过来 翻译了一下 并封装在一个类中 using System;namespace System.Windows.Forms{ /// /// 获得桌面图标名称和位置 /// class GetIcoPointName { #region Api声明 private co... 阅读全文
posted @ 2011-12-05 21:26 SpeakHero 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: [DllImport("user32.dll", CharSet=CharSet.Auto, EntryPoint = "FindWindowA")] public static extern IntPtr FindWindowA(string lp1, string lp2); [DllImport("user32.... 阅读全文
posted @ 2011-12-02 10:31 SpeakHero 阅读(316) 评论(0) 推荐(0) 编辑