上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 存储过程执行DTS包 set @shellSql = 'dtsrun /S "' + @serverip +'" /U "' + @user + '" /P "' + @pwd + '" /N "gz_ParseFile_City" /A "type_id":"19"="' + cast(@type_id as varchar) + '" /A "filename... 阅读全文
posted @ 2008-11-26 16:59 Aricc 阅读(2817) 评论(0) 推荐(1) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* 手机动作统计*/CREATE PROC usp_ActionCount@planid int,@updatetype varchar(50)AS ----------------------... 阅读全文
posted @ 2008-11-26 16:49 Aricc 阅读(438) 评论(0) 推荐(0) 编辑
摘要: Introduction Everyone likes a confirmation that lets them know that a record is being deleted. In this article, I will show you how you can prompt confirmation boxes when you delete a record from the... 阅读全文
posted @ 2008-11-26 13:03 Aricc 阅读(1222) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->procedure TForm1.FormShow(Sender: TObject);var i:Integer;begin //当前程序的完整路径(包括文件名) lbl1.Caption:=Pa... 阅读全文
posted @ 2008-11-26 13:01 Aricc 阅读(369) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->procedure TForm1.btn1Click(Sender: TObject);var stm:TFileStream;begin stm:=TFileStream.Create('c:\t... 阅读全文
posted @ 2008-11-26 13:00 Aricc 阅读(975) 评论(0) 推荐(0) 编辑
摘要: 如果你的升级过程比较简单(例如只需要下载更新一个主程序),那么本示例就比较适合你。 下载升级文件的程序这里就不再赘述,详细使用方法请参考http://www.cnblogs.com/Aricc/archive/2008/11/26/1341378.html 现在,我们只需要在主程序中加入一个很简单的Procedure就可以完成升级任务了。 假设下载回来的最新程序的完整路径是New,当前运行的程序... 阅读全文
posted @ 2008-11-26 12:59 Aricc 阅读(564) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, ... 阅读全文
posted @ 2008-11-26 12:59 Aricc 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 系统文件夹在不同的计算机上是不同的(由于不同的操作系统,用户档案,用户设定)。以下代码可以读入当前设定:uses ShlObj, ActiveX;function GetSystemPath(Folder: Integer): string;varPIDL: PItemIDList;Path: LPSTR;AMalloc: IMalloc;beginPath := StrAlloc(MAX_PAT... 阅读全文
posted @ 2008-11-26 12:58 Aricc 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 设有以下三个变量:var s:string; p:pchar; a:array[1..20] of char;那么三者之间的转换如下:1、字符串到PChar p:=PChar(s);2、PChar到字符串 s:=p;3、PChar到字符数组 StrCopy(@a,p);4、字符数组到PChar PChar(@a);5、字符串与字符数组之间的转换就只有通过PChar来中... 阅读全文
posted @ 2008-11-26 12:57 Aricc 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 1、 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 2、 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighli... 阅读全文
posted @ 2008-11-26 12:55 Aricc 阅读(531) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页