你们的潜力,大家的动力!

生活是由思想造成的! 别人笑我太疯癫,我笑他人看不穿。 不见五陵豪杰墓,无花无酒锄作田。

最新评论

共3页: 1 2 3 下一页 
大哥,能不能写一下具体怎么设置以及如何注册的,谢谢了~
楼主,我是个刚入门的菜鸟,给我一份修改好的吧。学习使用,谢谢了!刚才忘记给邮箱了huangzhiwen@163com
楼主,我是个刚入门的菜鸟,给我一份修改好的吧。学习使用,谢谢了!
lz能发个源代码吗?想学习学习啊!
我也想要,可以吗?
lsgonglu@hotmail.com
大哥,能不能发出来啊,好想要~~
能否给发一下源码.
小弟将不尽感激.
re: MOSS中几个有用的IFilter下载 omf002 2008-08-24 22:52  
呵呵,做全文搜索...
不过有时候感觉ifilter会增加些麻烦,例如精确度问题!!
re: MOSS中实现自动上传图片 omf002 2008-08-24 22:47  
非常感谢楼主的共享精神,我已成功在测试机上应用!非常感激!!
我想做一个能像ocean做的表情选择器...如果成功会与大家共享。
另外,sharepoint讨论区的答复数不能做为排序的条件,即不能按照答复的多少来排序视图,不知道楼主可有办法!
我今天遇到这个问题了,使因为我之前装有一个office 2007 的兼容工具bata版的,卸载了就没问题了
附:安装vs2008时一定要卸载以前相关的bata版的程序才可以
产品: Microsoft Office Shared Coms English Language Pack - 成功地安装了更新 'Infrastructure Update for Microsoft Office Servers'。
re: 火影忍者--火之国的大选 pccai 2008-07-30 17:12  
@notmmao
果真如此?
re: 火影忍者--火之国的大选 notmmao 2008-07-30 16:34  
不要盼着大蛇丸在有什么作为了,下次他的出场就是他对火影的告别仪式。
re: 火影忍者--火之国的大选 pccai 2008-07-27 22:26  
不对 287了,从读书一直关注到现在,大蛇丸不知道什么时候出来,呵呵
re: MOSS & Project Server 2007 pccai 2008-07-24 16:58  
有时候还会报:
   SQL Server 实例“demo-datasrv”上的数据库“DEMODefaultSSP_DB”不为空,但与当前数据库架构不匹配。
可能要在配置的时候选择将此服务器作为管理中心宿主。
re: MOSS & SSO 系列2 pccai 2008-07-04 09:34  
:)
re: MOSS & SSO 系列2 Windie Chai(笑煞天) 2008-07-03 23:05  
继续学习,蔡兄要多发文啊。
re: MOSS & SSO 系列1 Windie Chai(笑煞天) 2008-07-03 23:04  
很好很强大!
谢谢了! 差点装不到这个了东西了!
后来的解决方法:/_layouts/FormServer.aspx 在此文件的Load事件中判断又没有这个参数:openin=browser 如果没有强行加上便好了。
re: 后续的职业规划 lp 2008-06-26 16:43  
呵呵~~,谢谢哦, 才看到!努力努力,一起加油!
re: 给咱办公室贴幅春联 lp 2008-06-26 16:42  
小样
re: MOSS的权限控制很好很强大的 Michael Zhang 2008-06-25 10:32  
其实就是使用管理员的权限来读取信息.
impersonate
re: MOSS的权限控制很好很强大的 jdxyw2004 2008-06-19 15:43  
这个权限控制是什么意思?
:)
re: MOSS的权限控制很好很强大的 Windie Chai(笑煞天) 2008-06-18 22:30  
那么强大都被你突破了,你不是很暴力?
对你的ComponentArt UI 自己写了个Explorer,非常感兴趣!能发给Demo吗?
qinxlsus@126.com,非常感谢!
楼主先谢谢! 给我也发一个 E-mail:pbrs1984@163.com
有时间给我也发一份,最近我也反编译了一个,资源文件没搞好
给俺看看你那个学习学习
chaterlxp@163.com
大虾,给我一份修改好的吧。谢谢了,学习使用。
另外,有没有修改工具啊,能不能给介绍一下啊。
Thanks pccai
Message在构造的时候Body.BodyType1已经选择了是Text还是Html.
Anyway,Body内容已经读出来了, 是通过FindItem取出的ItemIdType, 然后传给GetItem取出的, 附件也能读到.
Thanks all the same
re: VCalendar不错的开源日历项目 pccai 2008-01-26 23:07  
数据库连接文件在Web.config中,默认为localhost,目前没有应用到Membership上,有空放到Membership中,支持多语言和皮肤。。。
最好能把怎么反编译的也说说,我自己去试了下,发现有小部分被混淆了,不知道怎么处理呢?
@yvainie
因该可以读出的,可能是要构造一个特殊结构的 Body体,我们平时发邮件不是有文本和Html之分吗.
cn.cwe.mail.MessageType 中的:cn.cwe.mail是我引用的WebServices地址啊,你如果成功引用后改成你自己的就可以了,比如: localhost 那就是:localhost.MessageType

有空整理下代码发上来,这样看着难受....
楼主,是否可以发你已经修改好的版本给我,基于学习目的,谢谢。
chmf.jie@126.com
给我来一份吧兄弟
谢了
好东东,顶了,在看
楼之是不是也能发一个给我,
liyazhang83@gmail.com
@天涯人
简单点的,没有整理哦:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using CrystalDecisions.Shared;//负责解释TableLogOnInfo类
using CrystalDecisions.CrystalReports.Engine;
using System.Data.SqlClient;
using System.IO;
using System.Collections.Generic;//负责解释ReportDocument类

public partial class LawReports_LawyerReports : BaseWebPage
{

private ReportDocument customerReport;//un-Type 报表
private int _cid;//选择公司的ID
private string _people = "";
private string _dateBegin = "";
private string _dateEnd = "";

private CrystalLibrary.CrystalHelper _crystalHelper;
private MembershipUser mbUser;

///
/// 初试化报表,先于Page_OnLoad事件
///

///
///
private void Page_Init(object sender, EventArgs e)
{
mbUser = Membership.GetUser(Page.User.Identity.Name);//获取MemberShip中的指定的成员
if (mbUser == null)//匿名用户没有任何权限
{

LogInfo.AddLaw_Log(new MLog(Page.User.Identity.Name,
LogInfo.LogDoType.View,
DateTime.Now,
"匿名用户访问",
Request.UserHostAddress,
Request.RawUrl,
false));
Response.Redirect("/_layouts/GSEGC/Anonymous.aspx");
}

int lastErrorID = -1;
if (!Roles.IsUserInRole(User.Identity.Name, "超级管理员"))
{
LogInfo.AddLaw_Log(new MLog(Page.User.Identity.Name, LogInfo.LogDoType.Print, DateTime.Now,
" 您没有察看此页的权限." + this.Title, Request.UserHostAddress, Request.RawUrl, false), ref lastErrorID);
ViewState[User.Identity.Name] = lastErrorID;//保存最近的错误编号
Response.Redirect("/_layouts/GSEGC/Errors.aspx");
}
string tmp = DateTime.Now.ToString("yyyy-MM-dd");
try
{
_people = Request.QueryString["p"] == null ? "" : Request.QueryString["p"];
_dateBegin = Request.QueryString["db"] == null ? tmp : Request.QueryString["db"];
_dateEnd = Request.QueryString["de"] == null ? tmp : Request.QueryString["de"];

this.txtName.Text = _people;
this.DateBegin.Text = _dateBegin;
this.DateEnd.Text = _dateEnd;

}
catch (Exception ex)
{
#region 错误日志
LogInfo.AddLaw_Log(new MLog(Page.User.Identity.Name,
LogInfo.LogDoType.Print,
DateTime.Now,
"无效的参数!" + ex.Message,
Request.UserHostAddress,
Request.RawUrl,
false), ref lastErrorID);
ViewState[User.Identity.Name] = lastErrorID;//保存最近的错误编号
Response.Redirect("/_layouts/GSEGC/Errors.aspx");
#endregion
}
ConfigureCrystalReports();
}

protected void Page_Load(object sender, EventArgs e)
{
int lastErrorID = -1;
if (!Page.IsPostBack)
{
//需要验证用户权限先!!!!!否则提示错误信息或者加载错误报表模板
}
}

///
/// 动态加载报表数据源
///

private void ConfigureCrystalReports()
{
int lastErrorID = -1;//保存最近错误ID号
try
{
string reportPath = Request.PhysicalApplicationPath + "LawReports\\LawyerReport.rpt";//报表路径,绝对路径

//登录等信息可以写入web.config文件
_crystalHelper = new CrystalLibrary.CrystalHelper();

_crystalHelper.SetParameter("@PeopleName", _people);//初试化参数
_crystalHelper.SetParameter("@DoTimeBegin", _dateBegin);//初试化参数
_crystalHelper.SetParameter("@DoTimeEnd", _dateEnd);//初试化参数


customerReport = new ReportDocument();//实例化报表对象,采用pull的方式
if (File.Exists(reportPath))
{
customerReport.Load(reportPath);//加载报表

// customerReport.SetDataSource(dataSet);//可以接受DataSet或者DataTable,ArrayList,List等基本数据对象

_crystalHelper.ReportSource = customerReport;
_crystalHelper.Open();

crystalReportViewer.ReportSource = _crystalHelper.ReportSource;//指定报表数据源,可以在此动态加载类似数据源
}
else
{
//customerReport.Load(reportPath);//加载一个空的指示错误的报表报表
}
this.crystalReportViewer.HasCrystalLogo = false;

#region 加载非Pdf打印模式
// set the theme for the page. post-data is not currently loaded
// use trace="true" to see the form collection
ProfileCommon pc = new ProfileCommon();//匿名用户配置文件
ProfileCommon pc2 = pc.GetProfile(Page.User.Identity.Name);//得到当前用户的配置文件
if (pc2.PrintMode != "Pdf")//加载非Pdf打印模式
{
this.crystalReportViewer.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX;
}
#endregion

#region 报表字段的多语言

InitMultiLanguage(customerReport);

#endregion

}
catch (Exception ex)
{
LogInfo.AddLaw_Log(new MLog(Page.User.Identity.Name,
LogInfo.LogDoType.Print,
DateTime.Now,
"动态加载报表失败!" + ex.Message,
Request.UserHostAddress,
Request.RawUrl,
false), ref lastErrorID);
ViewState[User.Identity.Name] = lastErrorID;//保存最近的错误编号
Response.Redirect("/_layouts/GSEGC/Errors.aspx");
}
}

///
/// 多语言的实现
///

/// 用户自定义报表对象
private void InitMultiLanguage(ReportDocument customerReport)
{
TextObject txtObjLID = (TextObject)customerReport.ReportDefinition.ReportObjects["TextLID"];
txtObjLID.Text = (string)base.GetGlobalResourceObject("Companys", "AID");
TextObject txtObjLName = (TextObject)customerReport.ReportDefinition.ReportObjects["TextLName"];
txtObjLName.Text = (string)base.GetGlobalResourceObject("Companys", "gvAName");
TextObject txtObjLSetupTime = (TextObject)customerReport.ReportDefinition.ReportObjects["TextLSetupTime"];
txtObjLSetupTime.Text = (string)base.GetGlobalResourceObject("Companys", "gvLawSetUpT");
TextObject txtObjLAddress = (TextObject)customerReport.ReportDefinition.ReportObjects["TextLAddress"];
txtObjLAddress.Text = (string)base.GetGlobalResourceObject("Companys", "gvAAddress");
TextObject txtObjTextLDescription = (TextObject)customerReport.ReportDefinition.ReportObjects["TextLDescription"];
txtObjTextLDescription.Text = (string)base.GetGlobalResourceObject("Companys", "gvADescription");
TextObject txtObjTextLPeople = (TextObject)customerReport.ReportDefinition.ReportObjects["TextLPeople"];
txtObjTextLPeople.Text = (string)base.GetGlobalResourceObject("Companys", "gvLawM");
TextObject txtObjTextAdd = (TextObject)customerReport.ReportDefinition.ReportObjects["TextAdd"];
txtObjTextAdd.Text = (string)base.GetGlobalResourceObject("Language", "UserT");
TextObject txtObjReport = (TextObject)customerReport.ReportDefinition.ReportObjects["Report"];
txtObjReport.Text = (string)base.GetGlobalResourceObject("Companys", "Report");
}


///
/// 查询记录
///

///
///
protected void btnQuery_Click(object sender, EventArgs e)
{
try
{
Response.Redirect("~/LawReports/LawyerReports.aspx?p=" + this.txtName.Text.Trim() + "&db=" + this.DateBegin.Text.Trim() + "&de=" + this.DateEnd.Text.Trim());
}
catch (Exception)
{

throw;
}
}
}
没有调用的实例啊
楼主能不能发布一下调用实例呢?
re: 升级MDMS到2007下啦 amoszw 2008-01-17 12:18  
@Nick-pccai
您好,能share一份,谢谢!
amoszw@126.com

hehe, 好的,整理整理发给你们,基于学习目的,要商用可要给人家钱哦,好几百$....
jingyionline@gmail.com
是不是也能发我个?
re: 安装Project Server2007出现错误 pccai 2008-01-14 10:09  
@M草儿
多谢,后来实在没有办法,来个最笨的,重新启动了一个服务器场,版本不一致原来是打了moss sp1的缘故,以后可要吸取教训了,补丁不是打得越早越好了,呵呵。。。
re: 安装Project Server2007出现错误 M草儿 2008-01-13 23:49  
you can contact me ,i have succeed after i tried installation 6 times
,my email mmcdule@hotmail.com
楼主好, 你的代码确实很实用, 非常感谢了
不过有个问题, 怎么也取不到message body的内容.
用过以下语句的不同组合也还是取不到
findItemRequest.ItemShape.BaseShape = DefaultShapeNamesType.IdOnly或者AllProperties;
..... ptuftBody.FieldURI = UnindexedFieldURIType.itemAttachments;
或者ptuftBody.FieldURI = UnindexedFieldURIType.itemBody

请楼主指教, 多谢了
re: MOSS中几个有用的IFilter下载 sugeng 2008-01-04 09:51  
不好意思,问一下,IFilter是做什么的?
re: 如何在InfoPath2007中接受URL参数 caihongyuan 2007-12-20 00:17  
@MOSS疑問者
.../_layouts/FormServer.aspx?XmlLocation=DocLib1/%E9%87%87%E8%B4%AD%E7%94%B3%E8%AF%B7%E5%8D%95%20-%202007-12-06T15_54_45.xml&openin=browser 才是完整的路经,你可以在表单的Loading事件中判断有没有这两个参数,或者格式是否合理,否则强行通过上面的方式加上就可以了!
对了,e.InputParameters 还是ReadOnly的,我们只有发生跳转才可以实现.不过最好还是改模板.
re: 如何在InfoPath2007中接受URL参数 MOSS疑問者 2007-12-18 12:08  
我也遇見這個問題.
請問您是怎樣解決的?
共3页: 1 2 3 下一页 
Dict.CN 在线词典, 英语学习, 在线翻译