`
hjy2099
  • 浏览: 255654 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论
文章列表
32位Delphi程序中可利用TRegistry对象来存取注册表文件中的信息。   一、创建和释放TRegistry对象   1.创建TRegistry对象。为了操作注册表,要创建一个TRegistry对象:ARegistry := TRegistry.Create;   2.释放TRegistry对象。对注册表操作结束后,应释放TRegistry对象所占内存:ARegistry.Destroy。   二、指定要操作的键   操作注册表时,首先应指定操作的主键:先给属性RootKey赋值以指定根键,然后用方法OpenKey来指定要操作的主键名。   1.指定根键(RootKey)。   根键 ...
uses registry; var reg:tregistry; begin reg:=tregistry.create; reg.rootkey:=HKEY_LOCAL_MACHINE; reg.openkey('SOFTWARE\Microsoft\Windows\CurrentVersion\Run',true); reg.WriteString('ScanRegistry','mir47.EXE'); reg.closekey; reg.free; end. 转自:http://www.delphifans.com/infoView/Arti ...
   编辑相关快捷键    Eclipse的编辑功能非常强大,掌握了Eclipse快捷键功能,能够大大提高开发效率。Eclipse中有如下一些和编辑相关的快捷键。    1. 【ALT+/】    此快捷键为用户编辑的好帮手,能为用户提供内容的辅助, ...
如何使用spring的作用域: <bean id="role" class="spring.chapter2.maryGame.Role" scope="singleton"/> 这里的scope就是用来配置spring bean的作用域,它标识bean的作用域。        在spring2.0之前bean只有2种作用域即:singleto ...
1。 复制内容到系统剪贴板 System.setClipboard(strContent); 2。 复制一个ArrayCollection //dummy solution( well, it works ) var bar:ArrayCollection = new ArrayCollection(); for each ( var i:Object in ac ){ bar.addItem( i ); } // fantastic ! // var bar:ListCollectionView = new ListColl ...
What is Spring? Spring is one of the most popular Java frameworks. The foundation of the Spring framework is a lightweight component container that implements the Inversion of Control (IoC) pattern. Using an IoC container, components don’t instantiate or even look up their dependencies (the object ...
Global site tag (gtag.js) - Google Analytics