Pick a contact from Explorer object possible?

K

Kristian

Hi,
Is it possible to pick a contact from an Explorer object?

My code just runs with the first item in the explorer,
but I want to let the user pick an item and then run
the code with that one.
As the code is in a Contact form I cannot use the
SelectionChange event.

TiA,
Kristian
 
K

Ken Slovak - [MVP - Outlook]

K

Kristian Karre

Yes, the code is inside a contact form.
How can Item_Read help me?
Thanks,
Kristian

"
You are using Outlook form code? Handle the Item_Open and Item_Read
events. It won't give you everything that SelectionChange would
though.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


Kristian said:
Hi,
Is it possible to pick a contact from an Explorer object?

My code just runs with the first item in the explorer,
but I want to let the user pick an item and then run
the code with that one.
As the code is in a Contact form I cannot use the
SelectionChange event.

TiA,
Kristian
"
 
K

Kristian

Hello again,
Still problems:
We use IPM.Contact in personal Contacts folder.
We use IPM.Contact.XX in Public Contacts folder.

When button Import is clicked in IPM.Contact.XX
I want to
1) show the personal Contacts explorer (no problem) and
2) import the selected contact.

If anyone can tip me how to achieve this I would be most
grateful, I'm prepared to pay for an Add-In.

Tia,
Kristian
-----Original Message-----
You are using Outlook form code? Handle the Item_Open and Item_Read
events. It won't give you everything that SelectionChange would
though.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


Kristian said:
Hi,
Is it possible to pick a contact from an Explorer object?

My code just runs with the first item in the explorer,
but I want to let the user pick an item and then run
the code with that one.
As the code is in a Contact form I cannot use the
SelectionChange event.

TiA,
Kristian


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top