且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更新自定义Outlook表单的已发送日期/时间属性

更新时间:2023-02-13 12:36:11


嗨URsuresh,



 



感谢您在MSDN论坛上发帖。


an>

 



请你澄清一些问题:



 



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