游子日月长

笑渐不闻声渐悄,多情却被无情恼!

导航

随笔分类 -  Delphi

1 2 3 4 5 ··· 9 下一页

Dynamic Method Binding in Delphi 动态方法绑定
摘要:Dynamic Method Binding in Delphi 动态方法绑定 https://docs.dataabstract.com/Delphi/AdvancedTopics/DynamicMethodBinding/ http://docwiki.embarcadero.com/RADSt 阅读全文

posted @ 2018-04-28 17:35 游子日月长 阅读(174) 评论(0) 推荐(0)

[原创]如果软件在网络磁盘中或移动磁盘中运行时需要解决 exception C0000006 异常问题
摘要://如果软件在网络磁盘中或移动磁盘中运行时需要利用下面这句命令来解决 exception C0000006 异常问题 {$SetPEFlags IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP or IMAGE_FILE_NET_RUN_FROM_SWAP} 阅读全文

posted @ 2018-01-04 11:53 游子日月长 阅读(2363) 评论(0) 推荐(0)

2个多边形,其中一个包围另一个,如何将中间的环带区域涂成红色
摘要:var a, b, c: HRGN; hbr: HBRUSH; begin // 2个多边形,其中一个包围另一个,如何将中间的环带区域涂成红色 hbr := CreateSolidBrush(clRed); a:=CreateRectRgn(100,200,400,400); b:=CreateRo 阅读全文

posted @ 2017-10-16 16:48 游子日月长 阅读(205) 评论(0) 推荐(0)

TXLSReadWriteII5 单元格读写
摘要:unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, XLSReadWriteII5, Gri 阅读全文

posted @ 2017-10-16 16:33 游子日月长 阅读(909) 评论(0) 推荐(0)

Delphi TXLSReadWriteII导出Excel
摘要:TXLSReadWriteII导出Excle (有点复杂,可以自己简化一下,直接从项目中抓取的) procedure TformSubReport.DataToExcel(_Item: Integer; _Obj: TObject); //导出Excle var i, j, k: Integer; aVendorObj: TV... 阅读全文

posted @ 2017-10-16 11:48 游子日月长 阅读(3072) 评论(0) 推荐(0)

TXLSReadWriteII2 读取数据
摘要:TXLSReadWriteII2 按行读取数据(写得复杂了点,实际项目中的,可以自己简化) procedure TformMain.LoadGeneralObject(_type, _col, _row: Integer; _filename: AnsiString); var xls: TXLSReadWriteII2; i: integer; dataRec: T... 阅读全文

posted @ 2017-10-16 11:47 游子日月长 阅读(1297) 评论(0) 推荐(0)

TXLSReadWriteII 公式计算
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, XLSReadWriteII2, StdCtrls, XLSUtils2; type TForm1 = class(TForm) ... 阅读全文

posted @ 2017-10-16 11:45 游子日月长 阅读(703) 评论(0) 推荐(0)

Delphi TXLSReadWriteII2 带的demo中直接编辑XLS文件的例子
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, Tabs, Cell2, {$ifdef ver140} Variants, {$endif} XLSUtils2, XLSReadWriteI... 阅读全文

posted @ 2017-10-16 11:44 游子日月长 阅读(1482) 评论(0) 推荐(0)

delphi图片欣赏
摘要:作者QQ:276678295 阅读全文

posted @ 2017-10-16 11:11 游子日月长 阅读(253) 评论(0) 推荐(0)

Delphi TXLSReadWriteII 导出EXCEL
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,StdCtrls,XLSReadWriteII,XLSFonts,CellFormats,BIFFRecsII; type TForm1 = class(TFo... 阅读全文

posted @ 2017-10-16 10:40 游子日月长 阅读(436) 评论(0) 推荐(0)

在delphi中XLSReadWriteII.组件的应用实例(2)
摘要:第三方组件:XLSReadWriteII.v.5.20.67_XE3 实例源码如下: 阅读全文

posted @ 2017-10-16 09:49 游子日月长 阅读(1606) 评论(0) 推荐(0)

在delphi中XLSReadWriteII.组件的应用实例(1)
摘要:第三方组件:XLSReadWriteII.v.5.20.67_XE3 实例源码如下: 阅读全文

posted @ 2017-10-16 09:43 游子日月长 阅读(1204) 评论(0) 推荐(0)

Delphi XE3通过ADOConnection 连接 MySQL 5.5.27 数据库
摘要:Delphi XE3通过ADOConnection 连接 MySQL 5.5.27 数据库 阅读全文

posted @ 2017-10-13 10:25 游子日月长 阅读(251) 评论(0) 推荐(0)

多线程数据库查询(ADO)
摘要:ADO多线程数据库查询通常会出现3个问题: 1、CoInitialize 没有调用(CoInitialize was not called);所以,在使用任何dbGo对象前,必须手 调用CoInitialize和CoUninitialize。调用CoInitialize失败会产生"CoInitial 阅读全文

posted @ 2017-10-11 15:52 游子日月长 阅读(671) 评论(0) 推荐(0)

delphi通过TADOConnection组件直接连接MSSQL数据库并读写数据。
摘要:unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Data.Win.ADODB, Vcl.St... 阅读全文

posted @ 2017-10-11 11:30 游子日月长 阅读(594) 评论(0) 推荐(0)

Delphi动态配置ODBC数据源--SQL Server版本
摘要:(摘自)http://jxlearnew.blog.163.com/blog/static/549786592007102451431413/ 这里介绍一种用Delphi来实现动态注册的方法,希望对各位有所帮助.这里我们直接使用ODBCCP32.DLL中提供的SQLConfigDataSource函 阅读全文

posted @ 2017-10-11 11:28 游子日月长 阅读(519) 评论(0) 推荐(0)

[原创]delphi一次性批量在TScrollBox中显示N个复选框TCheckBox的源码
摘要:代码的效果图如下: 阅读全文

posted @ 2017-06-07 09:08 游子日月长 阅读(978) 评论(0) 推荐(0)

[重点]delphi 实现 根据给定的标题去《中国青年报》网上电子报数据中查找匹配的内容,并从该内容中取出引题、正题、副题、作者和正文。
摘要:项目要求:根据给定的标题去《中国青年报》网上电子报数据中查找匹配的内容,并从该内容中取出引题、正题、作者和正文。 阅读全文

posted @ 2017-03-03 08:44 游子日月长 阅读(288) 评论(0) 推荐(0)

delphi控制本计算机和远程计算机关机等
摘要:unit mainunit; {远程关机源码} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, StrUtils; type TForm1 = class(TForm) GroupBox1: TGroup... 阅读全文

posted @ 2017-03-01 09:36 游子日月长 阅读(446) 评论(0) 推荐(0)

Delphi 透明窗体显示文字
摘要:设置窗体属性:BorderStyle 属性设置为 bsNoneColor 属性设置为 clWhite(白色:窗体背景色)TransparentColor 属性设置为 trueTransparentColorValue 属性设置为 clWhite(白色:透明颜色)//以上两颜色需一致才能使窗体透明 设 阅读全文

posted @ 2017-02-23 10:10 游子日月长 阅读(410) 评论(0) 推荐(0)

1 2 3 4 5 ··· 9 下一页