摘要:
如何计算某时间段内有几个星期几? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061216151111140.html 已知日期A是星期二、四、日中的一天。求A到B这段日期内共有几个星期二、四、日? { 函数参数说明:A--The Old Date B--The... 阅读全文
posted @ 2008-10-14 16:32
delphi2007
阅读(794)
评论(0)
推荐(0)
摘要:
请问:软件运行前的设置界面显示'第一次运行软件,正在设置...'等信息的东东叫什么?如何做出这种东东呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061216184137139.html 就是说软件工作前要有一段初始化的工作,将这个信息提供给使用者,如何用最简单的方法做出这种功能呢?最好... 阅读全文
posted @ 2008-10-14 16:32
delphi2007
阅读(107)
评论(0)
推荐(0)
摘要:
两数组的问题? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217001324138.html 问题1:找出两数组的不同数和共有数的值和位置,和同值同位置的值存入数组s1……s9 如: 数组值r1为{ 1, 6,23,15, 5,28, 8,11,1... 阅读全文
posted @ 2008-10-14 16:32
delphi2007
阅读(153)
评论(0)
推荐(0)
摘要:
如何在一个窗体中加载另一个窗体上的控件? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217012218137.html 想在一个窗体上加载另一个窗体现存的控件,请问该怎么做? 如form1有edit1 想在form2中加载form1的edit1,该怎么办?谢谢! ... 阅读全文
posted @ 2008-10-14 16:32
delphi2007
阅读(331)
评论(0)
推荐(0)
摘要:
大整数加法优化 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217100254136.html 改自FGInt单元,将原来的 TGInt = Record Sign : TSign; ... 阅读全文
posted @ 2008-10-14 16:32
delphi2007
阅读(382)
评论(0)
推荐(0)
摘要:
小弟请教一个问题,关于fastreport Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215203149144.html 我用fastreport制作了一个报表,我想在程序运行的同时自动更换报表标题.最好有例子. up 在执行打印操作的按钮(或菜单)的代码中写:FrReport1.... 阅读全文
posted @ 2008-10-14 16:32
delphi2007
阅读(150)
评论(0)
推荐(0)
摘要:
急,数组1排序后->数组2,求算法!3Q Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215205531143.html 数组1排序,同时将数组1排序前的序号值按排序后的顺序存入数组2,求一简单算法(代码少优先,速度其次) 例: A[0]=4 ... 阅读全文
posted @ 2008-10-14 16:32
delphi2007
阅读(154)
评论(0)
推荐(0)
摘要:
delphi的人气可不怎么样呀??天天就那几个破问题,还没人回答!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219141400117.html 好不容易自己碰到个问题,还半天冷场,真没劲。 1、求人先求已; 2、不是所有问题问题都值得人回答; ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(169)
评论(0)
推荐(0)
摘要:
為什麼不能識別該數據類型 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219144304116.html 我現在使用的是sql server 2000作為後台,用delphi進行開發,現在為什麼我的dataset 不能識別Memo類型數據啦,以前是可以的哦,請高手幫忙 人... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(144)
评论(0)
推荐(0)
摘要:
求助!从excel导出数据? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219174414115.html 如题,如何实现! com接口 请详细点可以嘛? 系统为3层结构,希望通过控件实现 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(274)
评论(0)
推荐(0)
摘要:
看看这段代码有没有内存泄露? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219185953114.html 类方法: function TAdoHelper.GetDataSet(sqlstr: string; params: TStrings): TD... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(190)
评论(0)
推荐(0)
摘要:
如何读取网页源码然后生成html文件? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219212425113.html 我在网上找了好久没有找到,不知道用哪个函数可以实现?希望给段代码,谢谢了,在线等. uses ActiveX, ComObj; //... ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(394)
评论(0)
推荐(0)
摘要:
请教:A和B是两个tstringlist,如何除去B里面所有与A里面相同的项目?用下面的代码为什么会出错呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220050104112.html 我的意思是,如果是A,B是集合的话,那么我要B-A; for ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(202)
评论(0)
推荐(0)
摘要:
问一个调用VC下编写的dll的问题???好怪哦 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220075845111.html 接口函数定义: extern "C" DllExport int PCFileCopyToOther(char Disk, ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(148)
评论(0)
推荐(0)
摘要:
Delphi Result問題 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220091412110.html 請問delphi自定議函數中的result是不是和其它語言的return一樣?不過在其它語言中遇到return便會結束函數.delphi中好像不是.請高手幫助提示下!!! ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(468)
评论(0)
推荐(0)
摘要:
窗体的autoscroll:=true,窗体scroll时,如何让窗体中的toolbar在窗体滚动时仍可见并保持在窗体最上方? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220094547109.html 我在窗体的onmousescroll中加了如下代码,但toolbar的位置定位... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(271)
评论(0)
推荐(0)
摘要:
[原创/讨论] Windows 核心编程研究系列之二:读取物理内存地址中的内容 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220115340108.html 请到以下连接观赏: http://community.csdn.net/Expert/topic/524... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(217)
评论(0)
推荐(0)
摘要:
求教,c#如何调用delphi编写的dll中的函数 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219114602118.html 如题; 由于工作需要用到c#,但是有写函数用c#太不习惯了,于是用delphi写,但是调用时出现了问题,开始以为是函数写错了,但是后来写了个最简... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(183)
评论(0)
推荐(0)
摘要:
关于在DLL中调用TXMLDocument时出错的问题! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218133656127.html 我在dll中使用XML读取和写如配置,每次静态调用完以后都会出现错误:Access violation at address 000... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(439)
评论(0)
推荐(0)
摘要:
想结婚选日子吗?超难的“双八”问题,我没分了,有兴趣的进,很好玩!!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220122423107.html 众所周知,前天,也就是公历12.18,农历10.28,在整个北京,结婚的人特别多,晚上八点多,领证的队还排的很长,那么,如何用程序得出... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(404)
评论(0)
推荐(0)
摘要:
按钮凹凸问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220132759106.html 比如WINDONS自带的写字板,当下B图案,则B图案凹下去,并所选字体为粗体,再按一下,按钮和字体都还原了. 你自己编程也可以实现啊,在按钮的mousedown里写 可以把TSpeedBut... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(194)
评论(0)
推荐(0)
摘要:
含小数点的字符串转换为数值型 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220145819105.html 我取了表格控件中的值,DBGRIDEH1.getfootervalue(1,DBGRIDEH1.columns[5]),但其值为字符型,而且是带小数点的字符串,例:‘0.49’... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(604)
评论(0)
推荐(0)
摘要:
新手+菜鸟,请教关于取当天日期的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220153528104.html 我想让DateTimePicker.Date的值等于当天的日期 我的写法如下: DateTimePicker.D... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(254)
评论(0)
推荐(0)
摘要:
两个字节,如果写入一个大于65535的数? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220165725103.html 正常情况下FFFF为65535,如何突破呢? 突破不了了,想办法改成四个字节吧 有没有什么压缩算法?或高招,大家帮我想想.今晚就散分. 觉得已没有可能了。除非这... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(966)
评论(0)
推荐(0)
摘要:
这算是listview的bug吗? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220171729102.html 我想把listview里选中的一行纪录的某个字段保存到edit里,代码如下: edit1.text:=listview1.Selected.SubI... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(182)
评论(0)
推荐(0)
摘要:
低版本写的程序迁移到高版本??? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220174703101.html 如d5 -> d7 1.怎么迁移? 2.有迁移向导么? 3.做哪些准备或改动? 4.注意事项? 这个有点难... ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(275)
评论(0)
推荐(0)
摘要:
文件读写的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218152401126.html 我的文件是 [第一次] 00:00---00:40 第一次我拉着你得手 00:41---01:22 不知往哪走 ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(75)
评论(0)
推荐(0)
摘要:
如何声明一个全局变量,可以在应用的任何单元引用 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218153004125.html 如何声明一个全局变量,可以在应用的任何单元引用 unit unit1; interface var ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(151)
评论(0)
推荐(0)
摘要:
如何实现以下排序的算法 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218161948124.html 有类似如下一字符串:“2:牛 4:鸡 1:猪 3:虎 8:猴 3:马”如何实现按生肖前面的数值从大小到的顺序排列,即得到如下字串:“8:猴 4:鸡 3:虎... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(148)
评论(0)
推荐(0)
摘要:
一个if语句执行到一半的时候,用什么方法可以跳出来啊 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218163235123.html 比如下面代码: if **** then begin try ... 阅读全文
posted @ 2008-10-14 16:31
delphi2007
阅读(1135)
评论(0)
推荐(0)
浙公网安备 33010602011771号