更新自定义Outlook表单的已发送日期/时间属性 [英] Updating a Sent date/time Property for a Custom Outlook form

查看:100
本文介绍了更新自定义Outlook表单的已发送日期/时间属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friends,



我正在处理一个问题,我正面对我过去创建的自定义表单。当我创建自定义表单时,看起来它与我上次发布表单的日期一起发布。即"所有邮件字段"中的已发送属性。 /"所有帖子字段"
显示我过去的日期。因此,当我尝试转发由此自定义表单创建的会议时,它会向我显示正文中的相同过去日期。例如


------原始约会-----

来自:用户A

已发送: 2009年3月26日星期五下午4:22

致:用户B

主题:测试 



现在,当我尝试在自定义表单设计模式下在Sent属性中删除/更新此日期时,它被禁用,我无法更新/删除此属性。看起来这是自定义表单的标准用户属性。我观察到,对于标准约会形式
,它的值是"无"。



我试图使其成为"无"。通过VB脚本表单代码使用Item_Open方法中的下面的代码,但它只是抛出错误:

表单代码行 - > Item.Sent =" None"

在此行引发错误 - > "对象不支持此属性或方法"
$


有人可以帮我解决此问题吗?  



提前致谢。

解决方案

< span style ="font-family:Times New Roman; font-size:small">

嗨URsuresh,



 



感谢您在MSDN论坛上发帖。



 



请你澄清一些问题:



 



1.      
您是项目的Outlook加载项还是自动应用程序?



2.      
请告诉我你的Outlook版本。



3.      
<< 自定义表单 >>是什么意思?是表单吗?区域,Outlook文件模板或winform代替?



4.      
据我所知,<< 已发送 >> $背后显示的时间b $ b 是一个只读值 。我们无法编辑它。是否要设置一个名为的UserProperty “在您的预约项目中发送了吗?



 



祝你有个美好的一天,



 



汤姆



Hello Friends,

I am working on one issue that I am facing with custom form created by me in the past. When I created a custom form, looks like it was published with the date I published the form last time. i.e. the Sent property in the "All Mail Fields" / "All Post fields" shows me past date. Because of this it shows me the same past date in the body when I try to forward a meeting created by this custom form. e.g.

------ Original Appointment -----
From: User A
Sent: Friday, March 26, 2009 4:22PM
To: User B
Subject: Test 

Now when I try to remove/update this date in the Sent property in custom form design mode, it is disabled and I cannot update/delete this property. Looks like this is standard user property for the custom form. I observed that for standard Appointment form it's value is "None".

I tried to make it "None" through VB Script form code using below code in the Item_Open method but it simply throws error:
Form code line -> Item.Sent = "None"
Throws error at this line -> "Object doesn't support this property or method"

Can anybody please help me to resolve this issue?  

Thanks in advance.

解决方案

Hi URsuresh,

 

Thanks for posting in the MSDN Forum.

 

Would you please clarify some questions:

 

1.      Is you project a Outlook add-in or an automatic application?

2.      Please tell me your Outlook version.

3.      What’s mean of the <<custom form>>? Is it a form region, a Outlook file template or a winform instead?

4.      As far as I know the time which show behind the <<Sent>> is a read-only value. We aren’t able to edit it. Do you want to set a UserProperty which named “Sent” in your appointment item?

 

Have a good day,

 

Tom


这篇关于更新自定义Outlook表单的已发送日期/时间属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆