
Delphi
yethyeth
这个作者很懒,什么都没留下…
展开
-
【转贴】Delphi vs. Others
导读: Delphi vs. Others From Zarko Gajic, Your Guide to Delphi Programming. FREENewsletter. Sign Up Now! What is the BEST RAD tool for you? What is the BEST RAD tool for you!"I would lik原创 2007-11-06 11:00:00 · 878 阅读 · 0 评论 -
一个变态问题的解决!!!!!!!!!(时间)
向数据库插入一条记录,其中有datetime数据,在某个机上no problem,但是在另一机上,出错,提示:字符串在向datetime转换时要截断字符。问题:出错机上的时间格式虽然是24小时制的,但是是上下午制,即2006-11-1 上午 11:22:22(不明白这种格式为什么也是24小时制。)而数据库的时间格式是2006-11-1 11:22:22,所以错了。解决1:从程序里获取时间时,也作原创 2007-01-05 23:34:00 · 1979 阅读 · 0 评论 -
delphi tips and articles 5
1 判断字符串中的中文字符是否存在等问题。procedure TForm1.Button1Click(Sender: TObject);var t:string; s,s1:WideString;v:WideChar;begin s := _3到8年; s1:=年;v:=s[1];showmessage(v); if ansiContainsText(s,s1[1]) th原创 2007-01-07 17:29:00 · 1440 阅读 · 0 评论 -
突然提示:error loading MIDAS.DLL(注册dll的通用方式)
提示异常:error loading MIDAS.DLL。注册midas.dll1 先拷贝midas.dll()到本地系统目录下(假设c:/winnt/system32/),2 然后点击桌面/开始/运行/regsvr32 c:/winnt/system32/midas.dll(直接 regsvr32 midas.dll即可)注册成功时会有提示说明:如果系统为98,将regsvr32替换成regsv原创 2007-01-06 16:24:00 · 30727 阅读 · 3 评论 -
MIDAS中动态强制约束编程,一个用来区分 MIDAS 与其他分布式数据库解决方案的特征
MIDAS中动态强制约束编程 作者:zou5655 时间:2001-11-01 10:40 出处:互联网 责编:My FAQ转载 2006-12-31 01:49:00 · 1074 阅读 · 0 评论 -
midas技术
Multi-Tier结构程序开发基础教程(一) 作者:z33 时间:2001-11-01 10:40 出处:互联网 责编:My FAQ转载 2006-12-31 01:44:00 · 7572 阅读 · 0 评论 -
delphi 函数大全
Delphi6函数大全(1) > 首部 function AnsiResemblesText(const AText, AOther: string): Boolean; $[Str转载 2006-12-23 19:14:00 · 2313 阅读 · 0 评论 -
基于midas的MIS中的用户操作日志的创建(待续)
http://groups.google.com/group/borland.public.midas/browse_thread/thread/62869146faacfc96/c75cd6a1c77bd295?lnk=st&q=midas+identify+client&rnum=6#c75cd6a1c77bd295 All 5 messages in topic - view as原创 2006-08-20 02:33:00 · 1126 阅读 · 0 评论 -
delphi TClientDatset资料
第十一章 TClientDataSet 与TTable、TQuery一样,TClientDataSet也是从TDataSet继承下来的,它通常用于多层体系结构的客户端。TClientDataSet最大的特点是它不依赖于BDE(Borland Database Engine),但它需要一个动态链接库的支持,这个动态链接库叫DBCLIENT.DLL。在客户端,也不需要用TDatabase构件,因转载 2006-08-20 17:27:00 · 1796 阅读 · 0 评论 -
Midas中的数据更新问题,特别是delta的问题
function GetFieldValue(Fld: TField): Variant; begin if not VarIsEmpty(Fld.NewValue) then Result := Fld.NewValue else Result := Fld.OldValue; end;原创 2007-01-11 11:37:00 · 1058 阅读 · 0 评论 -
delphi问题集锦
delphi问题集锦1、怎么样在delphi中调动其它*.exe文件?例如:winexec(d:/郑洽/Project1.exe,sw_show);==============================================================================2、如何让工程运行时主窗体就是最大化的? 答:设置主窗体的WindowsState属转载 2007-01-09 22:10:00 · 1437 阅读 · 0 评论 -
一些老控件的集合下载包
550)this.width=550" /> 一些很老的控件的集合:http://www.2ccc.com/go.asp?id=332&url=http://sd.2ccc.com/downloads/vcl/miscell转载 2007-01-11 22:46:00 · 1922 阅读 · 0 评论 -
delphi tips 6
1 dcom程序不能使用的问题(也许有用)http://topic.youkuaiyun.com/t/20010907/11/276353.html客户端需要运行regsvr32 midas.dll,regsvr32 stdvcl40.dll 服务端需要运行dcomcnfg进入“分布式COM配置属性” 1 “默认属性”页面,将“在这台计算机上启用分布式COM”打勾,将“默认原创 2007-06-13 23:35:00 · 1042 阅读 · 0 评论 -
delphi中调试信息输出
1 http://topic.youkuaiyun.com/t/20041018/02/3464822.html首先在你的*.DPR项目文件里加上这一行 {$APPTYPE CONSOLE} 然后 调用 Writeln(文本); 就行了 2 http://blog.youkuaiyun.com/dogbear2000/archive/2005/02原创 2007-06-13 21:01:00 · 13854 阅读 · 0 评论 -
Delphi代码标准文档
Delphi代码标准文档Revision 1.0.0.5编者:Riceball(riceball@cq118.com) 本文主要基于“Delphi Development Guide”一书的代码标准部分而来,编者参考其它的Delphi代码标准规范,以及结合现目前Delphi社区中流行的程序书写惯例,作了一些修改和裁剪,你也可以根据自己的需要进行裁剪和修改。如果你有什么建议,或是希望编者转载 2007-07-02 20:28:00 · 1305 阅读 · 0 评论 -
用TImage,TcxImage显示来自数据库的图片jpeg
procedure TForm1.FormCreate(Sender: TObject); var MyStream:Tmemorystream; MyJPEG:TJpegImage; begin MyStream:=Tmemorystream.Create; MyJPEG:=TJpegImage.Create; try TBlobField(adoquery1.FieldByNa原创 2007-03-24 20:43:00 · 2720 阅读 · 0 评论 -
100篇delphi精彩讨论
关于tClientDataSet http://www.01cn.net/cgi-bin/topic_show.cgi?id=160&h=1&bpg=2&age=0 什么是O/R Mapping,为什么要O/R Mapping http://www.01cn.net/cgi-bin/topic_show.cgi?id=1068&h=1&bpg=2&age=0 程序关闭的时候更改程序自身的扩展名 h转载 2007-01-23 22:41:00 · 1157 阅读 · 0 评论 -
delphi 程序发布问题
http://topic.youkuaiyun.com/t/20030102/15/1320762.htmlDelphi具有强大的数据库应用程序开发功能,其Client/Sever版本可以开发一般的单机数据库应用系统、普通Client/Sever应用系 统直至基于Web的多层应用,其中自然离不开Borland数据库引擎(BDE)的功劳。不过在没有安装过Delphi程序的计算机上运行数据库程序时, 必须同时分发原创 2007-01-22 11:01:00 · 3103 阅读 · 0 评论 -
一个可以使用checkbox,radiobutton的Listview的源码
该代码实现了基本的功能,但是只能在一行上画一个button。但是可以通过修改代码来实现(drawcell)。 从component->install component编译该文件,会在控件面板中生成Mycontorls面板,因为代码:RegisterComponents(´MyControls´, [TStringGridEx]);unit StringGridEx;i转载 2007-01-15 21:52:00 · 1520 阅读 · 0 评论 -
对dbgrid的改造
在 Delphi 语言的数据库编程中,DBGrid 是显示数据的主要手段之一。但是 DBGrid 缺省的外观未免显得单调和缺乏创意。其实,我们完全可以在我们的程序中通过编程来达到美化DBGrid 外观的目的。通过编程,我们可以改变 DBGrid 的表头、网格、网格线的前景色和背景色,以及相关的字体的大小和风格。 以下的示例程序演示了对 DBGrid 各属性的设置,使 Delphi 显示的表格就转载 2007-01-15 23:04:00 · 1299 阅读 · 0 评论 -
delphi 控制 excel,创建报表
http://www.delphibbs.com/keylife/iblog_show.asp?xid=11659一) 使用动态创建的方法首先创建 Excel 对象,使用ComObj:var ExcelApp: Variant;ExcelApp := CreateOleObject( Excel.Application );1) 显示当前窗口:ExcelApp.Visible := True;转载 2006-12-11 23:02:00 · 3226 阅读 · 1 评论 -
delphi tips and articles 2
1TColor中支持的颜色常量(unit Graphics): clSystemColorclScrollBarclBackgroundclActiveCaptionclInactiveCaptioclMenuclWindowclWindowFrameclMenuTextclWindowTextclCaptionTextclActiveBorderclInactiveBorderclAppWork原创 2006-07-20 15:54:00 · 4868 阅读 · 0 评论 -
Raw Delphi
Raw DelphiDelphi Without the VCL or the IDE It is practically impossible to teach good programming style to students that have had prior exposure to BASIC; as potential programmers they are mental原创 2006-09-11 15:33:00 · 2075 阅读 · 0 评论 -
Units in QReport and Other summary(关于QReport中的Unit)
The following delare somewhat type in which unit;TQRBandType : QrPrntr;TPageOrientation: Printers; TQRCustomBand is the super class of TQRBand and TQRGroup.if you put co原创 2006-04-28 21:00:00 · 1497 阅读 · 0 评论 -
Using XML And XSLT In Delphi
This article first appeared in The Delphi Magazine Issue 66 (February 2001)http://www.thedelphimagazine.com/samples/1189/1189.htmUsing XML And XSLT In Delphi by Craig Murphy As most website bu转载 2006-09-06 22:56:00 · 2824 阅读 · 0 评论 -
一些Delphi控件,工具资源链接
http://www.freedownloadscenter.com/Programming/Delphi_Tools_and_Components/http://delphi.about.com/od/toppicks/http://www.volweb.cz/pvones/delphi/http://www.torry.net/news.php?id=51http://delp原创 2006-09-09 18:59:00 · 1258 阅读 · 0 评论 -
Delphi Tips and Articles 3
1在db控件中捕捉字段变化前后的值 from google groupshttp://groups.google.com/group/borland.public.delphi.thirdparty-tools/browse_thread/thread/46ff3c56af4174a1/9b071486516dadb1?lnk=st&q=delphi+detect+field+change原创 2006-09-03 16:08:00 · 1559 阅读 · 0 评论 -
delphi的调试问题与技巧
[独孤求败]:第十二章 Delphi异常处理与程序调试(三) [原创 2006-06-23 16:09:45 ] 发表者: mingliangjian http://mingliangjian.blog.hexun.com/4294529_d.html12.4.3 断点的使用 12.4.3.1 设置断点 设置断点首先在Code Editor中选定你想设置断点的代码行,而后进行原创 2006-09-02 17:18:00 · 2643 阅读 · 0 评论 -
delphi文章等
在Delphi编程中的文件操作 http://news.softhouse.com.cn/news/show/15723.html delphi关于文件操作的函数 http://www.cncfan.com/cncfan_com_article.asp?art_id=2502&cat_id=74关于文本文件http://www.75pc.com/viewthread.php?tid=2原创 2006-04-23 17:19:00 · 9903 阅读 · 1 评论 -
Delphi中的隐藏
//Ex1Type TFigure = class procedure Draw;//* end; TRectangle = class(TFigure) procedure Draw;//# end;var Figure:TFigure; Rectangle:TRectangle;begin Figure := TFigure.create; Figure.Dr原创 2006-01-18 21:57:00 · 1174 阅读 · 0 评论 -
InstallShield Express打包delphi遇到'Internal Error 25001.1615 : RegistrationCosting::CostAllISSelfRegEntries::MsiDatabaseOpenView(hD
项目做完后用InstallShield Express打包,第一次用这个东东,果然出了问题,报了如下错误Internal Error 25001.1615 : RegistrationCosting::CostAllISSelfRegEntries::MsiDatabaseOpenView(hDatabase,_T("Select * from ISSelfReg"), hView上网转载 2006-09-12 21:33:00 · 2564 阅读 · 0 评论 -
Third party controls for Delphi (delphi 第三方控件)
ExpressInspector suitvender:Developer Express Inc. 一个下载地址:http://www.tomore.com/2/16664.htmlit is a useful object inspector control.it can inspect the control and change its property in run-原创 2006-05-01 15:00:00 · 1708 阅读 · 0 评论 -
分享一下ExpressQuantumGrid4的cxGrid的一些使用方法和经验
分享一下ExpressQuantumGrid4的cxGrid的一些使用方法和经验作者:wangxian11 来源:www.delphifans.com http://www.csai.cn 2006年02月07日 使用cxGrid有一些时间了,在这里总结一下使用cxGrid的一些方法,希望给刚开始接触cxGrid的人一些帮助。 1.简单介绍:cxGrid右下方的cxGrid1Level转载 2006-09-21 18:53:00 · 2121 阅读 · 0 评论 -
DevExpress学习(ExpressEditor,cxgrid)
1 TCxCurrencyEditor如何操作(读,写)其中的值Use the Value property to get and set the floating-point data, stored by a currency editor. EditValue and Value refer to the same data. The Value property is an Edi原创 2006-11-16 21:55:00 · 2528 阅读 · 1 评论 -
Qreport 填满最后一页的空白
通常情况下,可以考虑用qrloopband来。qrloopband设计时一般在detailband之后,可以通过qrloopband.enable来控制qrloopband的显示与否,在最后一页计算需要多少行空白页,然后将qrloopband.enable:= true,并且设计qrloopband.printcount:=行数。我是在动态生成报表的情况下,quickrep 等所有组件都是动态原创 2006-10-26 21:26:00 · 1579 阅读 · 0 评论 -
cxgrid使用
1编码实现过滤with gridDBTableView1.DataController.Filter.Root do begin Clear; BoolOperatorKind := fboor; AddItem(gridDBTableView1.Columns[15], foEqual, trim(myutils.getDepartmentNameFromNod原创 2006-10-15 13:08:00 · 3178 阅读 · 0 评论 -
delphi tips and articles 4
1用回车键代替Tab键 把Form的KeyPreview属性设为True在Form的OnKeyDown事件处理程序中: if Key = VK_RETURN then begin Key := VK_TAB; FindNextControl(ActiveControl, True, True, False).SetFocus; end但是,发现对cxgrid类的控件上述代原创 2006-10-16 21:53:00 · 3068 阅读 · 0 评论 -
TQRDBText的非常规使用---中文的多行显示带来的一个问题
TDBText(PrvdrName)属性设置为:autosize:=falseautostretch:=true;wordwrap:= true;alignment:=tacenter;利用《一个qreport的例子:中文多行显示,表格线在多行显示时的扩展,扩展之后的手动分页,文本式的反向报表(试过)》http://blog.youkuaiyun.com/yethyeth/archive/原创 2006-10-10 17:05:00 · 1866 阅读 · 0 评论 -
关于文件操作集锦
取得该快捷方式的指向EXE关键词:快捷方式 LNK unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls;typeTForm1 = class(TForm)Button1: TButton;procedur转载 2006-10-09 21:15:00 · 1962 阅读 · 0 评论 -
一个qreport的例子:中文多行显示,表格线在多行显示时的扩展,扩展之后的手动分页,文本式的反向报表(试过)
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, QuickRpt, QRCtrls, ExtCtrls, DB, ADODB, StdCtrls;type TForm1 = class(TForm) ADO原创 2006-10-01 12:19:00 · 2517 阅读 · 0 评论