Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / June 2007

Tip: Looking for answers? Try searching our database.

How to modify Contacts-Button behavior?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bodo - 21 Jun 2007 10:21 GMT
Hi,

I've build a contact form for a public folder and want to use the contacts
Button (pick from field chooser...contacts) to let the user choose a
contact-item from the same folder.

What options do I have to modify the behaviour of the contacts button?
- I want that when the button is pressed my public contact folder is
selected as default.
- When the user chooses a contact from the list I want that the selected
item is stored in a userdefined control not in the control that is
automatically attached to the contacts button.
- When I drag the contacts button from the fields chooser, Outlook attaches
a control(_RecipientControl1) to the button automatically.
However, I'm unable to select a userdefined field for that control.

Appreciate any usefull hints.

Signature

Thanks in advance.
Bodo

Sue Mosher [MVP-Outlook] - 21 Jun 2007 10:36 GMT
There are no options to modify the behavior of that control or the field (Links) that it represents.

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> Hi,
>
[quoted text clipped - 13 lines]
>
> Appreciate any usefull hints.
Bodo - 26 Jun 2007 12:12 GMT
Sue, thanks for your reply.
I want to add a button to my custom contact form.
How can I call the choose-contacts dialog by VBA in the buttons click event?

I then want to read the selected contact-item from the choose-contacts
dialog. How can I do this by VBA-code?

Signature

Thanks in advance.
Bodo

> There are no options to modify the behavior of that control or the field (Links) that it represents.
>
[quoted text clipped - 15 lines]
> >
> > Appreciate any usefull hints.
Sue Mosher [MVP-Outlook] - 26 Jun 2007 12:45 GMT
Outlook provides no way to programmatically call that dialog, nothing analogous to the ShowCategoriesDialog command.

Other methods of allowing users to pick from that folder would be to use CDO 1.21, Redemption, or Outlook 2007 to call the Select Names dialog or fill a list or combo box on the form with names to pick.

Also note that the code behind Outlook forms is VBScript, not VBA.

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> Sue, thanks for your reply.
> I want to add a button to my custom contact form.
[quoted text clipped - 4 lines]
>
>> There are no options to modify the behavior of that control or the field (Links) that it represents.

>> > I've build a contact form for a public folder and want to use the contacts
>> > Button (pick from field chooser...contacts) to let the user choose a
[quoted text clipped - 9 lines]
>> > a control(_RecipientControl1) to the button automatically.
>> > However, I'm unable to select a userdefined field for that control.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.