上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 86 下一页
摘要: The LotusScript language in Domino is very powerful once you find out that you can create custom classes with it. I´m going to write some articles about creating great helper classes, and start off with the basics of creating user classes. I am NOT going to explain why object oriented programmi 阅读全文
posted @ 2011-12-15 07:43 hannover 阅读(306) 评论(0) 推荐(0)
摘要: 为了在发起某一事件后,阻止用户对界面的进行操作,可以使用ExtJS提供的针对Ext.Element的mask和unmask 例如: 1、对整个body操作 Java代码 functionreLoadData(){ Ext.getBody().mask("数据重新加载中,请稍等"); varrequestConfig={ url:'#',//url可以根据需要设置 callback:function(options,success,response){ varmsg=["",,"\n","",resp 阅读全文
posted @ 2011-12-09 15:43 hannover 阅读(15395) 评论(0) 推荐(0)
摘要: 陈 斌, 高级软件工程师, IBM陈斌是来自 IBM CSTL 的高级软件开发工程师,现在负责 Lotus Domino for IBM i 的开发、支持以及团队领导工作。刘 芳 (liufang4@cnooc.com.cn), 资深互联网工程师, 中国海洋石油总公司刘芳,中国海洋石油总公司资深互联网工程师, 对 SAP 及 Domino 开发有丰富的经验陈 云, 软件工程师, IBM陈云是来自 IBM CSTL 的软件开发工程师,现在从事 Lotus Domino for IBM i 的开发和支持工作。简介:本文介绍了如何利用 LotusScript 来灵活操作 Lotus Notes 富文 阅读全文
posted @ 2011-11-15 14:42 hannover 阅读(896) 评论(0) 推荐(0)
摘要: You want to explode a delineated string (e.g. abc; cde; gef; xyz; abc).Optionally, also get the unique values with no holes in the list...An all LotusScript explode option is just using split:linetext = "abc; cde; gef; xyz; abc"rowVals = Split(linetxt, ";")@Explode & @Trim On 阅读全文
posted @ 2011-11-15 14:40 hannover 阅读(568) 评论(0) 推荐(0)
摘要: Sub InitializeDim oConn As VariantDim oRs As VariantDim filePath As StringDim Index As IntegerDim vValue As VariantDim strName As StringDim strValue As StringDim docNew As NotesDocumentDim count As LongDim session As New notessessionDim db As notesdatabaseSet db=session.currentdatabasegetAccessDBDat 阅读全文
posted @ 2011-11-03 22:26 hannover 阅读(378) 评论(0) 推荐(0)
摘要: Server.CreateObject("Scripting.FileSystemObject")Server.CreateObject("Scripting.Dictionary")HashTableServer.CreateXObject("Word.Application") //ServerActiveXObject("Word.Application") //ClientServer.CreateObject("Excel.Application")//ServerActiveXObj 阅读全文
posted @ 2011-11-03 20:44 hannover 阅读(3272) 评论(0) 推荐(0)
摘要: Everyone (well, almost everyone) knows that agents can call other agents. A LotusScript agent can call another LotusScript agent using the Run method. You can use the same method to invoke a Java agent, or to invoke a LotusScript agent from a Java agent. When using the Run method, the calling and th 阅读全文
posted @ 2011-11-02 05:33 hannover 阅读(532) 评论(0) 推荐(0)
摘要: 代理間用Run方法傳遞參數實際上是在第一個代理中創建一份文件,將要傳遞的值賦給文件中的item,然後得到第二個代理的對象并調用Run方法,Run方法的參數是第一個代理創建的文件的NoteID,這樣在第二個代理中根據文件的NoteID得到文件,然后對文件中的值進行一系列操作,這樣就完成了參數傳遞。然後在第一個代理中將之前創建的文件在內存中刪除,然後再根據NoteID得到被第二個代理操作并保存的文件,再對文件中的值進行操作,這樣又完成了一次參數傳遞。 例如:parameterPassing 代理:Dim ss As New NotesSession Dim db As NotesDatabase 阅读全文
posted @ 2011-11-02 05:30 hannover 阅读(628) 评论(0) 推荐(0)
摘要: 使用GetItemValue方法(1)NotesDocument类別的GetItemValue方法会传回文件中指定栏位的数值。不论栏位值是文字、数字、时间日期…等等, GetItemValue都是以阵列型态来回传,即使其中也沒有任何数值了。使用GetItemValue方法(2)语法valueArray = NotesDocument.GetItemValue_(“ItemName)”Ex.Dim lname As Stringlname = doc.GetItemValue(“LastName”)doc.itemname(0)与doc.getitemvalue(itemname)的区别doc. 阅读全文
posted @ 2011-11-02 05:20 hannover 阅读(3471) 评论(0) 推荐(0)
摘要: http://www.microsoft.com/data/"Dbq=c:\somepath\mydb.mdb;" & _"Uid=admin;" & _"Pwd="'Create and Open Connection ObjectSet Conn = CreateObject("ADODB.Connection")Conn.Open DBConStr";Data Source=192.168.2.10;User Id=sa;Password=password;Connect T 阅读全文
posted @ 2011-11-02 05:17 hannover 阅读(489) 评论(2) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 86 下一页