Search the web
Sign In
New User? Sign Up
outlook-dev · Outlook Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Obtain property value by name   Message List  
Reply | Forward Message #27942 of 28048 |
Need to access Appointment property by propertyname.
How to do that?

Let's say I want to write a function and pass a property name and then
return the value of the property:
{Delphi}
function getPropValue(Propname: String): Variant;
begin
Result := AppointmentItem. ?????
end;




Wed Jul 8, 2009 4:17 pm

mr_delphi_de...
Offline Offline
Send Email Send Email

Forward
Message #27942 of 28048 |
Expand Messages Author Sort by Date

Need to access Appointment property by propertyname. How to do that? Let's say I want to write a function and pass a property name and then return the value of...
mr_delphi_developer
mr_delphi_de...
Offline Send Email
Jul 8, 2009
5:57 pm

Use the ItemProperties collection for that, it can take a property name instead of an index value. VBA, where oAppt == an open appointment item: Dim Result As...
Ken Slovak
kenslovak2000
Offline Send Email
Jul 8, 2009
6:04 pm

The ItemProperties property is not exposed in the default Delphi imported Outlook2000.pas file. Here is how I'm doing it with succcess: const EmptyDispParams:...
mr_delphi_developer
mr_delphi_de...
Offline Send Email
Jul 14, 2009
2:00 pm

It is not exposed because Outlook 2000 does not have that property. Import the type library on a machine that has Outlook 2003 installed. From:...
Dmitry Streblechenko
dimastr2001
Offline Send Email
Jul 14, 2009
2:10 pm

If the interface provided only covers Outlook 2000 then anything added after that won't be there. ItemProperties was added to the OOM later than Outlook 2000. ...
Ken Slovak
kenslovak2000
Offline Send Email
Jul 14, 2009
2:11 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help