Board index » delphi » Access member variables / properties of OLE-Object

Access member variables / properties of OLE-Object

How do I access member variables of OLE-objects (type Variant) in Delphi?

I'm creating a connection to MS-Outlook and get a contact item. Now I want
to set certain properties (which the user choose). How can I get a reference
to the member variables (e.g. firstname, lastname,...) in order to set
values in this object???

 

Re:Access member variables / properties of OLE-Object


Quote
In article <3a6576c5$1_2@dnews>, Stefan Probst wrote:
> How do I access member variables of OLE-objects (type Variant) in Delphi?
> I'm creating a connection to MS-Outlook and get a contact item. Now I want
> to set certain properties (which the user choose). How can I get a reference
> to the member variables (e.g. firstname, lastname,...) in order to set
> values in this object???

Please check the delphi.oleautomation group, accessing Outlook is a quite
frequent topic there. You can also find a lot of info on automation in general
on http://www.djpate.freeserve.co.uk/Automation.htm

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!
Note: Till Feb.2001 i will only visit the groups on weekends, so  be patient
if i don't reply immediately.

Other Threads