上一页 1 ··· 6 7 8 9 10
摘要: 阅读全文
posted @ 2014-03-12 15:18 batter152 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 利用Excel的Outlook Application发送邮件 From为当前登录用户 emailBook.Close SaveChanges:=False email.Quit 邮件的Excel模板为: 也可以写成循环,遍历行发送邮件。 阅读全文
posted @ 2014-03-12 15:17 batter152 阅读(1177) 评论(0) 推荐(0) 编辑
摘要: When you create custom ribbon you need ribbon locationMuch for my own reference, here is a list of default Ribbon location values in SharePoint 2010 Beta 2.Remember to append .Controls._children to the end of each, and use CommandUI.Ribbon as the location for the CustomAction.Ribbon.BDCAdmin.ActionM 阅读全文
posted @ 2014-03-12 15:16 batter152 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 12010-1-100:00:00Z2009-1-400:00:00Zquery.ViewAttributes = "Scope='Recursive'"; //设置范围为递归,包含子文件夹o ViewAttributesa. Scope='Default' : 只顯示指定文件夾下的項目及子文件夾b. Scope='FilesOnly' : 只顯示指定文件夾下的項目c. Scope='Recursive' : 顯示所有項目,不顯示文件夾d. Scope='RecursiveAll' : 顯示所有 阅读全文
posted @ 2014-03-12 15:15 batter152 阅读(346) 评论(0) 推荐(0) 编辑
摘要: SharePoint 2010 Ribbon的实现http://blog.csdn.net/wang4237/article/details/5306335using code behindhttp://markeev.com/sharepoint/ribbon/?topic=html/ribbonControl.htmhttp://stackoverflow.com/questions/3415246/create-sharepoint-2010-ribbon-button-programmatically-w-o-feature-xmlcode javascripthttp://pubsu 阅读全文
posted @ 2014-03-12 15:13 batter152 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 在进一步实践使用ECMAScript对象模型来编写代码之前,我们当然希望我们的编码过程尽量轻松一些,所以在这里让我们看看如何实现在编写代码时,实现智能提示功能。 1、首先在VS2010中创建一个javascript文件。 2、在此文件的开始处添加如下代码:/// 我们必需把 对MicrosoftAjax.js的引用放到第一行,Javascript对外部引用文件的顺序是有一定的讲究的,某些SP对象会依赖于MicrosoftAjax.js,如果我们把此文件放在随意的地方就会导致某些引用SP对象的报错。你 也可引入带 debug 的,即"MicrosoftAjax.debug.js&quo 阅读全文
posted @ 2014-03-12 15:11 batter152 阅读(165) 评论(0) 推荐(0) 编辑
摘要: function checkForEnter(event) { if (event.keyCode == 13) { //按下回车 var videocomments = $("#newcomments").val(); if (videocomments != '') { $("#divToDisplay").show("slow"); $("#divToDisplay").html(''); var addnewcomment; ... 阅读全文
posted @ 2014-03-12 15:09 batter152 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Word中Mail Merge功能之后,分别保存成独立的word文件并且添加密码,增加命名规范Sub BreakOnSection()Dim a As Excel.Application, ab As Excel.WorkbookSet a = CreateObject("excel.application")Set ab = a.Workbooks.Open("D:\Book2.xlsx") Application.ScreenUpdating = False 'Makes the code run faster and reduces scr 阅读全文
posted @ 2014-01-23 09:55 batter152 阅读(3901) 评论(0) 推荐(0) 编辑
摘要: 在sharepoint 2010中,如果当前页面的篇幅比较长,如何在拉动页面滚动条时,在刷新的条件下,保持滚动条位置,研究了一下,发现sharepoint 2010的母板页,和普通的asp.net页面有不太一样的地方,是通过一个属性document.getElementById("s4-workspace").scrollTop来控制的,以下是实现的脚本,只需要修改一下v4.master母版页,在里面添加一个javascript的方法。在IE7,IE8,IE9,Google Chrome谷歌浏览器中,测试通过。 阅读全文
posted @ 2014-01-23 09:54 batter152 阅读(305) 评论(0) 推荐(0) 编辑
摘要: Count Enter baidu in5seconds 阅读全文
posted @ 2014-01-23 09:50 batter152 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10