05 2012 档案
摘要:VBS也可以编写类:1.VBS的类有两种事件:(1)Initialize 事件,在创建类的实例时发生(新建)此事件。Private Sub Class_Initialize() statementsEnd Sub当类初始化时,statements部分由零个或多个将要运行的代码语句组成。(2)Terminate 事件,在所关联的类的实例终止(销毁)时发生此事件。Private Sub Class_Terminate() statementsEnd Sub当类初始化时,statements 部分由零个或多个将要运行的代码语句组成。下面是类事件的例子:Class TestClass Private.
阅读全文
摘要:(1)创建学生Student类,它包含三个属性:整型属性学号(NO)、字符型属性姓名(Name)、日期型属性生日(BirthDay),一个输出的方法PrintInformation,其中,输出信息包含学号、姓名、生日。(2)把1题中增加年龄(Age)属性,该属性只读,输出信息为:学号、姓名、年龄。(3)把2题中定义一个构造函数,该构造函数可以包含(学号、姓名、生日) --> 转移QQ号:21993961时间:2008-08-27 17:34--> -->Public Class Students Dim ...
阅读全文
摘要:1. 版本控制技术及工具版本控制是程序开发、管理必不可少的工具,特别是在多人协作的团队中,适宜的版本控制工具可以提高开发效率,消除很多由代码版本带来的问题。通过使用版本控制技术及工具,可以确保在软件项目开发中不同的开发人员所涉及的同一文档都得到正确的更新。1.1 常用版本控制工具 1. CVS (Concurrent Versions System)CVS 是一款开放源代码软件,其功能强大、跨平台、支持并发版本控制而且免费,所以它在中小型软件企业中得到广泛使用。CVS最大的遗憾就是缺少相应的技术支持,许多问题的解决需要自己寻找资料,甚至是研究源代码。CVS是一个典型的服务器/客户端软件,支持.
阅读全文
摘要:一、基础知识:1、常用ASCII码知识:chr(9)、chr(10)、chr(13)、chr(32)、chr(34)所有关于 ASCII码的表格:[url]http://www.asciitable.com/chr(13) 是一个回车Chr(10) 是个换行符chr(32) 是一个空格符9/34 是tab,未确定?2、lotus notes中的rtf域GetFormattedText(tabstrip, lineLength% )eg:GetFormattedText(false,0),对rtf域值中的tab不进行处理,并且默认80个字符换行。我们常用如下代码的方式来读取rtf域的值Dim .
阅读全文
摘要:With this code, you can show the progress of a long lasting work.Declare Public Function NEMProgressBegin Lib "nnotesws.dll" (Byval wFlags As Integer) As LongDeclare Public Sub NEMProgressSetBarRange Lib "nnotesws.dll" (Byval hWnd As Long,Byval dwMax As Long)Declare Public Sub NE
阅读全文
摘要:This user defined array class can be used for manipulating all kinds of operations on arrays. Put the Array class given below in a script library (Declaration event) and name it as "CLASS : Array"This user defined array class can be used for manipulating all kinds of operations on arrays.
阅读全文
摘要:I needed versioning for my Wiki. The older versions of each WikiPage are stored in a separate database. The version number of the WikiPage is updated each time the page is saved.The LotusScriptIn the following routine, 'OVERFLOW_DB' is a constant with the path of the database to store all th
阅读全文
摘要:在线相册: 1. http://www.flickr.com/ 2. http://www.zoto.com/ 3. picasaweb.google.com 4. photo.163.com 5. http://www.photosled.com/ 6. photos.yahoo.com 7. http://www.bababian.com/ 8. http://www.yupoo.com/在线日历: 1. calendar.google.com在线To-Do List: 1. http://www.tadalist.com/ 2. http://www.rememberthemilk.c.
阅读全文
摘要:1. 前言 写这个文档的起因是我在使用一段程序代码的时候发现执行速度不满意,100条notes文档处理起来需要64秒钟。虽然这段代码的复杂程度很高,但是运算量不大,最多执行190个循环。所以我试着修改这段程序,最终将运行时间降低到5秒以下。这非常令人惊喜的结果!10倍的速度啊!1.2. 什么是运行速度的瓶颈? 根据人们通常认为运行速度的敌人有以下几个:> DBSearch(全文检索)。> 多数据库操作。> 巨大的数据库(超过10000条文档记录,容量超过100M)。 上面三个问题,人们可以根据经验认同和接受,所以我就不在多论述。1.3. 什么限制了Lotus Script程序
阅读全文
摘要:Notes Tips Note ID UniquenessTracking Notes Users at the Notes Server ConsoleSetting Up Web Server LoggingJS32.DLL Error Upgrading Domino ServerNotes Client Command-Line OptionsReporting a Bug in NotesModifying $FormulaClass in ViewsGetting Default Elements in the DatabaseNotes Debug FlagsExporting.
阅读全文