上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: Bitmap: a C++ class The five steps involved to draw a bitmap: Load bitmap using LoadBitmap or LoadImage Create a memory DC Select the bitmap into th... 阅读全文
posted @ 2015-08-02 15:38 老榕树 阅读(405) 评论(0) 推荐(0)
摘要: Creating an AVI in memory with C++ The following example demonstrates how an avi file is completely created in memory./* MakeAviInMemory.cpp An exam... 阅读全文
posted @ 2015-08-02 15:37 老榕树 阅读(261) 评论(0) 推荐(0)
摘要: AviMemDc: a C++ class This class is used in the Avi Examples.The header fileAviMemDC.h/* AviMemDC.h A C++ class for creating avi files Copyright (c)... 阅读全文
posted @ 2015-08-02 15:36 老榕树 阅读(260) 评论(0) 推荐(0)
摘要: Creating an generated Earth AVI with C++ EarthGenerator.cpp/* EarthGenerator.cpp An example on how to use AviMemDC.cpp Copyright (c) 1998-2003 Torbe... 阅读全文
posted @ 2015-08-02 15:34 老榕树 阅读(248) 评论(0) 推荐(0)
摘要: Embedding SQLite in a c programm The following program demonstrates how to embed SQLite into a c program.I compiled the program with MinGW without a... 阅读全文
posted @ 2015-08-01 16:08 老榕树 阅读(215) 评论(0) 推荐(0)
摘要: procedure IterateFrames(const AWB: IWebBrowser2);var Doc: IHTMLDocument2; Container: IOleContainer; Enumerator: ActiveX.IEnumUnknown; Unknown: IUn... 阅读全文
posted @ 2015-07-17 10:19 老榕树 阅读(720) 评论(0) 推荐(0)
摘要: --提取数字IF OBJECT_ID('DBO.GET_NUMBER2') IS NOT NULLDROP FUNCTION DBO.GET_NUMBER2GOCREATE FUNCTION DBO.GET_NUMBER2(@S VARCHAR(100))RETURNS VARCHAR(100)AS... 阅读全文
posted @ 2015-07-10 16:22 老榕树 阅读(549) 评论(0) 推荐(0)
摘要: dsql = $dsql; } function __construct() { $this->tenpay(); } /** * 设定接口会送地址 * * 例如: $this->SetReturnUrl($cfg_baseho... 阅读全文
posted @ 2015-07-02 18:10 老榕树 阅读(572) 评论(0) 推荐(0)
摘要: Application.DoEvents(); 阅读全文
posted @ 2015-06-30 09:05 老榕树 阅读(464) 评论(0) 推荐(0)
摘要: procedure TForm1.BitBtn1Click(Sender: TObject);var StringStream : TStringStream; FSize : integer; FileData : string; i : integer; DataStr : string; ms... 阅读全文
posted @ 2015-06-24 16:38 老榕树 阅读(589) 评论(0) 推荐(0)
摘要: C#开发串口总结,并提炼串口辅助类到公用类库中开发C#相关的项目有很多年了,一直没有接触串口的开发,近期由于工作的需要,需要了解熟悉对硬件串口的开发,通过对串口的深入了解,串口也不再是什么神秘的东西,利用SerailPort组件,对串口的各种操作也非常的方便,由于本人总是喜欢把一些常用的东西封装成可... 阅读全文
posted @ 2015-06-24 16:23 老榕树 阅读(609) 评论(0) 推荐(0)
摘要: public string GetLogo() { string logo = ""; if (!File.Exists(@"C:\bitmap.bmp")) return null; BitmapData data = G... 阅读全文
posted @ 2015-06-24 16:21 老榕树 阅读(308) 评论(0) 推荐(0)
摘要: C#实现MD5加密摘自:http://blog.csdn.net/shenghui188/archive/2010/03/28/5423959.aspx方法一首先,先简单介绍一下MD5MD5的全称是message-digest algorithm 5(信息-摘要算法,在90年代初由mit labor... 阅读全文
posted @ 2015-05-29 15:22 老榕树 阅读(2097) 评论(0) 推荐(0)
摘要: execute sp_executesql 用变量获取返回值1,EXEC的使用 2,sp_executesql的使用 MSSQL为我们提供了两种动态执行SQL语句的命令,分别是EXEC和sp_executesql;通常,sp_executesql则更具有优势,它 提供了输入输出接口,而EXEC... 阅读全文
posted @ 2015-05-27 23:55 老榕树 阅读(2916) 评论(0) 推荐(0)
摘要: /// /// 机器码 /// public class MachineCode { /// /// 获取cpu序列号 /// /// string public string GetCpuInfo() { string cpuInfo = " "; using (ManagementClass... 阅读全文
posted @ 2015-05-21 22:46 老榕树 阅读(439) 评论(0) 推荐(0)
摘要: public DataTable MakeDataTable(){ DataTable myTable; DataRow myNewRow; // Create a new DataTable. myTable = new DataTable("My Table")... 阅读全文
posted @ 2015-05-20 09:46 老榕树 阅读(8620) 评论(0) 推荐(0)
摘要: exec sp_droplinkedsrvlogin 'test',null exec sp_dropserver 'test'exec sp_addlinkedserver@server='Test',@srvproduct='',@provider='SQLOLEDB',@datasrc='12 阅读全文
posted @ 2015-05-16 09:56 老榕树 阅读(357) 评论(0) 推荐(0)
摘要: SqlServer中创建Oracle链接服务器第一种:界面操作(1)展开服务器对象-->链接服务器-->右击“新建链接服务器”(2)输入链接服务器的IP(3)链接成功后第二种:语句操作注:需要提前安装Oracle客户端程序,重启机器。(如果没有Oracle客户端程序,提示“未找到Oracle客户端和... 阅读全文
posted @ 2015-05-16 09:39 老榕树 阅读(2492) 评论(0) 推荐(0)
摘要: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连sql server服务器sqlserver远程连接数据库防火墙在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Serve... 阅读全文
posted @ 2015-05-16 09:33 老榕树 阅读(2667) 评论(0) 推荐(0)
摘要: sql server 复制表从一个数据库到另一个数据库 /*不同服务器数据库之间的数据操作*/ --创建链接服务器 exec sp_addlinkedserver 'ITSV ', ' ', 'SQLOLEDB ', '远程服务器名或ip地址 ' exec sp_addlinkedsrvlogin ... 阅读全文
posted @ 2015-05-16 00:14 老榕树 阅读(395) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页