After assigning this to an Outlook library Contact object you should be able to access all the details of the contact - but I haven't gone on to check this out yet.
What you don't get are any other details than the contact name.
I haven't tried this for real but something like this should work.... how can I do that?.
...
OutlookContact.New1 ' only need to do it once
...
If ChooseContact.Show = cOK Then ' dialog OK
' assign the selected contact reference to an Outlook library Contact object
OutlookContact.Value = ChooseDialog.SelectedContact
' now all the properties should be available
tbxFirstName.Text = OutlookContact.FirstName
tbxLastName.Text = OutlookContact.LastName
....
End If
Hi Forum,
Taximania wrote:
My general question is: Is it possible to get data such as "FirstName", "LastName" "HomeTelephone" "HomeStreet", etc. and putting them into several TextBoxes?
(... and how is the code for that?)
Thank you for your answers.
Just search con.? for other numbers once you have a string match on the name's.
I haven't tried this for real but something like this should work.
... If you need help with how to put the data into a textbox, you oughta learn a few more basics of b4ppc first.
Thanks. You may want to look at this "proper" version of it. http://www.b4x.com/forum/additional-libraries/3853-contact-property-chooser-libray.html You can choose from amongst a contact's properties as well as choose a contact from a list. You can also pre-filter the list for the user to choose from if required.Your DLL-File is great (it saves time for me)