- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 头疼的问题
那么长时间以来都没发现这个问题,用Java操作Access的时候竟然发现sql语句执行成功,而且影响的行数是1,可是打开数据库怎么都没发现数据insert到数据库中,郁闷了半天终于发现Connection没有关闭,不明白为什么java要采取这种解决方案,非要人把Connection关闭才能提交事务,也不知道以前用delphi操作Access的时候为什么没发现这种问题,总之以后注意就
2005-09-26 09:26:00 591
原创 读ini文件
ini文件操作:var NetIni:TIniFile; FileStr:TStringList;begin FileStr := TStringList.Create; //FileStr.Add(update.ini); NetIni:=TIniFile.Create(Update.ini); NetIni.ReadSections(FileStr); //NetIni.
2005-09-13 21:32:00 1060 1
原创 读写OutLook联系人
uses ComObj;procedure TForm1.Button1Click(Sender: TObject);const olFolderContacts = $0000000A;var outlook, NameSpace, Contacts, Contact: OleVariant; i: Integer;begin outlook := CreateOleObject(Ou
2005-09-13 21:25:00 1275
原创 图片存入数据库
protected System.Web.UI.HtmlControls.HtmlInputFile ImageToUpload; string ContentType = ImageToUpload.PostedFile.ContentType; string str = ImageToUpload.PostedFile.FileName; /// /// Length hol
2005-09-10 23:37:00 624
原创 用VB脚本实现向右键菜单添加快捷方式
this is file extension the commandshould generatefiletype=".vbs"connect to WScript.Shell registry accessset WSHShell = CreateObject("WScript.Shell")read in the name of vbs-sectionprg = ReadReg("HK
2005-09-06 23:36:00 1661
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人