摘要: 科学背单词的终极方法 怎样才能把这么多单词背下来呢?最重要的一点,就是:...如果想比别人成功,就一定要走捷径。不要期盼自己比别人幸运,也不要指望自己比别人更聪明或者更勤奋。从智力上说,从机遇上说,自己和别人都是差不了多少的,想超过和自己差不多的人,就一定要走捷径,捷径,捷径! 背单词捷径的第1条,就是:一定要每次都大量地背。 因为自己不比别人聪明,所以背完单词,别人忘掉五分之一,自己决不会比别... 阅读全文
posted @ 2008-10-09 17:25 莫忆往西 阅读(161) 评论(0) 推荐(0)
摘要: 很多初学习者对JavaScript、Java、Jsp、J2ee之间的关系与区别总是感到很困惑,为了帮助大家快速理解几者之间的关系,我们进行了如下解释说明:1. JavaScript用于编写嵌入在网页文档中的程序,它由浏览器负责解释和执行,可以在网页上产生动态的显示效果和实现与用户交互的功能,譬如,让一串文字跟着鼠标移动,让一个图标在网页漂浮移动,验证用户输入的信用卡号的格式正确与否,等等特效网页... 阅读全文
posted @ 2008-10-03 19:22 莫忆往西 阅读(132) 评论(0) 推荐(0)
摘要: 1、"生命在他里头,这生命就是人的光。光照在黑暗里,黑暗却不接受光。"(《新约·约翰福音》第1章)What has come into being in him was life, and the life was the light of all people. The light shines in the darkness, and the darkness did not overcom... 阅读全文
posted @ 2008-07-24 09:24 莫忆往西 阅读(1008) 评论(0) 推荐(0)
摘要: unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,shellapi ;type TForm1 = class(TForm) Button1: TButton; OpenDialog1: TO... 阅读全文
posted @ 2008-05-20 01:07 莫忆往西 阅读(361) 评论(0) 推荐(0)
摘要: ShellExecute的各种用法 一、利用系统默认的邮件收发器发送电子邮件 Uses ..., ShellAPI; Var lpHwnd: HWND; lpOperation, lpFile, lpParameters, lpDirectory: String; Begin lpHwnd:= GetDesktopWindow(); lpOperation:= 'open'; lpFile:= ... 阅读全文
posted @ 2008-05-20 00:25 莫忆往西 阅读(266) 评论(0) 推荐(0)
摘要: if str_pwd_in=trim(MainF.ADOQuery1.FieldByName('pwd').AsString) then begin if trim(MainF.ADOQuery1.FieldByName('Type').AsString)='sysadmin' then例如:if Edit1.Text=Adoquery1.FieldByNam... 阅读全文
posted @ 2008-05-14 18:33 莫忆往西 阅读(426) 评论(0) 推荐(0)
摘要: 创建方法4完整版 if(SQLConfigDataSource(m_pMainWnd->m_hWnd,ODBC_ADD_DSN,"Microsoft Access Driver (*.mdb)", "DSN=Personnel\0" "DBQ=C:\\My Documents\\dq.mdb\0" "DefaultDir=C:\\My Docu... 阅读全文
posted @ 2008-05-13 18:08 莫忆往西 阅读(668) 评论(0) 推荐(0)
摘要: 备份:procedure TBackupFrm.BitBtn2Click(Sender: TObject);beginif Edit1.Text= ' thenbeginShowmessage('无选择要保存的文件名');exit;end;trytrydmData.adoQryTmp.Active:= false;dmData.adoQryTmp.SQL.Clear;dmData.adoQryT... 阅读全文
posted @ 2008-05-10 00:15 莫忆往西 阅读(167) 评论(0) 推荐(0)
摘要: Unit BackRestoreSQLDB; interfaceuses adodb,db;function repl_substr(sub_old, sub_new, s: string): string; //把sub_old换成sub_new,后面有用。function BackupSQLDataBase(connstr_sql,DatabaseName,Backup_Fi... 阅读全文
posted @ 2008-05-09 23:11 莫忆往西 阅读(194) 评论(0) 推荐(0)
摘要: if exists( select * from sysobjects where name=pr_backup_db and xtype=p ) begi... 阅读全文
posted @ 2008-05-09 18:38 莫忆往西 阅读(156) 评论(0) 推荐(0)