摘要: delphi调用外部程序打开文件ShellExecute的各种用法一、利用系统默认的邮件收发器发送电子邮件Uses..., ShellAPI;VarlpHwnd: HWND;lpOperation, lpFile, lpParameters, lpDirectory: String;BeginlpHwnd:= GetDesktopWindow();lpOperation:= 'open';lpFile:= 'mailto:' + 'Maple119@263.net' + '?' //主邮件地址后以'?'结束+ &# 阅读全文
posted @ 2013-07-03 23:47 我是狂草 阅读(5009) 评论(0) 推荐(0)
摘要: 关于文件操作集锦 取得该快捷方式的指向EXE关键词:快捷方式 LNK unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls;typeTForm1 = class(TForm)Button1: TButton;procedure Button1Click(Sender: TObject);private{ Private declarations }public{ Public declarations }end;va. 阅读全文
posted @ 2013-06-19 12:09 我是狂草 阅读(587) 评论(0) 推荐(0)
摘要: 用URLDownloadToFile下载文件,如何用进度条跟踪下载进度1:OnDownloadProgress2:可有否具体的例子。3:unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls, ExtActns, ComCtrls;typeTForm1 = class(TForm)ProgressBar1: TProgressBar;Label1: TLabel;Button1: TButton;procedure Fo 阅读全文
posted @ 2013-05-28 20:59 我是狂草 阅读(3653) 评论(0) 推荐(0)
摘要: **************************数学单元*********************************Delphi / Kylix 跨平台运行时(Runtime)库Copyright (c) 1996, 2001 Borland 软件********************************************************************这个单元包含高性能的算术、三角、对数、统计和金融方面的计算及FPU程序函数用于补充Delphi语言System.pas 单元中的数学常规程序函数参考:1) P.J. Plauger, "The S 阅读全文
posted @ 2013-05-20 19:34 我是狂草 阅读(755) 评论(0) 推荐(0)
摘要: 这两年陆陆续续写了不少小东西,一直没有好好总结过,在新浪有个投资博客,编程技术性太多了可能不好,所以特别需要这么一个专门写技术备忘的地方。多谢博客园! 阅读全文
posted @ 2013-05-17 16:30 我是狂草 阅读(161) 评论(0) 推荐(0)