scoped_ptr源码
摘要:/* E:\Program Files\CodeGear\RAD Studio\7.0\include\boost_1_35\boost/checked_delete.hpp 24: */namespace boost{ template<class T> inline void checked_delete(T * x) { typedef char type_must_be_co...
阅读全文
posted @
2009-08-28 15:01
袁晓平
阅读(438)
推荐(0)
托管可执行文件的结构(The Structure of a Managed Executable File)
摘要:Normal 0 false 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE MicrosoftInternetExplorer4 Chapter 1, “Simple Sample,” introduced the managed executable file, known as a managed module and e...
阅读全文
posted @
2009-08-27 17:27
袁晓平
阅读(352)
推荐(0)
访问cookie的js函数
摘要:function setCookie(c_name, value, expiredays){ var exdate = new Date(); exdate.setDate(exdate.getDate() + expiredays); document.cookie = c_name + "=" + escape(value) + ((expiredays==null) ? "" : ";exp...
阅读全文
posted @
2009-08-26 11:21
袁晓平
阅读(163)
推荐(0)
判断数组是否已包含了某个元素的js函数
摘要:Array.prototype.contains = function(obj) { var i = this.length; while (i--) { if (this[i] === obj) { return true; } } return false;}或Array.prototype.contains = function (element) { for (var i = 0; i...
阅读全文
posted @
2009-08-26 11:15
袁晓平
阅读(3141)
推荐(1)
从逗号分隔的字符串中删除某个子串的js函数
摘要://将value从逗号分隔的字符串中删除 //比如从a,b,c,d 将c删除,得到a,b,dfunction removeFromCommaJoinedText(value, container) { if (value.length == 0) return ''; //去除前后逗号 value = value.replace(/^,/, '').replace(/,$/, ''); con...
阅读全文
posted @
2009-08-26 10:51
袁晓平
阅读(905)
推荐(0)
合并两个数组的js函数
摘要:function unionArray(arrayA, arrayB) { for (var i = 0; i < arrayA.length; ++i) { var inArrID = false; for (var j = 0; j < arrayB.length; ++j) { if (arrayB[j] == arrayA[i]) { inArrID = true; break...
阅读全文
posted @
2009-08-26 10:46
袁晓平
阅读(1410)
推荐(0)
写windows事件的C++类
摘要://---------------------------------------------------------------------------#pragma hdrstop#include <tchar.h>#include <windows.h>//--------------------------------------------------------...
阅读全文
posted @
2009-08-21 13:04
袁晓平
阅读(190)
推荐(0)
准确判断鼠标指针是否在对象里
摘要:function mouseMove(ev){ ev= ev || window.event; var mousePos = mouseCoords(ev); if (currentMenu) { var xIn = currentMenu.offsetLeft < mousePos.x && ((currentMenu.offsetLeft + currentMenu....
阅读全文
posted @
2009-08-19 15:34
袁晓平
阅读(280)
推荐(0)
Exchange2007获取OWA邮箱容量的代码
摘要://一下方法获取到了Response对象后获取他的html内容 就是:<div id=mbUsg>15224</div><div id=dspMbUsg>14.87 KB</div> private string GetMailboxUsageString() { string url = Config.ExchangeServerPath.Repl...
阅读全文
posted @
2009-08-14 13:35
袁晓平
阅读(419)
推荐(0)
Exchange2007部署文档
摘要:Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE MicrosoftInternetExplorer4 1、在邮件服务器打开Exchange命令行管理程序,将以下命令一行一行粘贴到里面执行 Get-ExchangeServer | Add-ADPermission -User MailAdmin -AccessRights extend...
阅读全文
posted @
2009-08-14 10:03
袁晓平
阅读(388)
推荐(0)
通讯录右键发送邮件不关闭关口问题(邮件能发出)的解决
摘要:添加联系人,输入邮件地址,保存后右键联系人发送邮件(owa),输入内容,点击发送按钮,一直保持在发送状态,但邮件已经收到以上是缺陷描述,解决方法是在邮件服务器的owa目录下找到uglobal.js比如C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\8.1.240.5\scripts\premium\uglobal.js找到...
阅读全文
posted @
2009-08-14 09:55
袁晓平
阅读(335)
推荐(0)
OWA邮件选人及约会请求选人修改
摘要:<script language="javascript"><%string strId = User.Identity.Name;if (strId.IndexOf("\\") != -1) {string[] arry = strId.Split("\\".ToCharArray());if (arry.Length > 1) strId = arry[1];} Res...
阅读全文
posted @
2009-08-14 09:53
袁晓平
阅读(226)
推荐(0)
owa实现清空邮箱的代码
摘要:找到messageview.aspx,将下面代码放在<% RenderEndOfFileDiv(); %>与</body></html>之间:<script>//////////////////////////////////////////////////以下为实现晴空已删除邮件的代码function ClearBox(userId, cmd) {...
阅读全文
posted @
2009-08-14 09:52
袁晓平
阅读(552)
推荐(0)
OWA2007邮件选人后检查姓名的功能的修改
摘要:要实现OWA2007邮件选人后检查姓名的功能的修改,只需将下面的文件里的shwAB函数的最后一行加函数调用rslvNms(OP_ANR);就可以了//C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\8.1.240.5\scripts\premium\uglobal.jsfunction shwAB(sTgt,sA){var o...
阅读全文
posted @
2009-08-14 09:50
袁晓平
阅读(6087)
推荐(0)
OWA2003隐藏附件病毒提示的方法
摘要:OWA2003隐藏附件病毒提示的方法需修改的文件路径:D:\Program Files\Exchsrvr\exchweb\6.5.7638.1\controls\frm_ReadNote.js其中6.57638.1有可能变化,找到window.onload函数,在函数体的最后加上以下代码即可//隐藏附件病毒提示//yuanxiaoping 2007-12-10var statusbar = g_w...
阅读全文
posted @
2009-08-14 09:49
袁晓平
阅读(251)
推荐(0)
Exchange2007新建邮件页面里加涉密信息提示的实现方法(世博局)
摘要:关于在Exchange2007新建邮件页面里加涉密信息提示的实现方法(世博局)1、修改editmessage.aspx(8.1.240.5/forms/premium/editmessage.aspx)在<table class="w100" cellpadding="0" cellspacing="0"><tr><td><% this.Toolbar.R...
阅读全文
posted @
2009-08-14 09:48
袁晓平
阅读(308)
推荐(0)
Exchange2007 各邮箱url地址
摘要:收件箱地址:http://mail.test.pd/owa/?f=%E6%94%B6%E4%BB%B6%E7%AE%B1&cmd=contents&part=1 发件箱地址:http://mail.test.pd/owa/?f=%E5%8F%91%E4%BB%B6%E7%AE%B1&cmd=contents&part=1 草稿:http://mail.test.pd/owa/?f=%E8%8D%89%E7%A8%BF&cmd=contents&part=1 垃圾邮件:http://mail.test.pd/owa/?f=%E5%9E%83%E5%
阅读全文
posted @
2009-08-14 09:47
袁晓平
阅读(521)
推荐(0)
Exchange2007 OWA里隐藏左边菜单
摘要:1、 找到页面C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\forms\premium\startpage.aspx2、 在页面最后</body>标签前加上脚本段<script language="javascript">//邮件菜单var obj = document.getElementById('lnkInbx').parentElement;obj.style.display = 'none';//日历菜单obj = document.g
阅读全文
posted @
2009-08-14 09:45
袁晓平
阅读(221)
推荐(0)