PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming Custom Contact Phone Selectors

Reply

Custom Contact Phone Selectors

 
Thread Tools Rate Thread
Old 28-04-2004, 04:50 PM   #1
Jacquie
Guest
 
Posts: n/a
Default Custom Contact Phone Selectors


I have written a VB.NET application that imports SQL Server 2000
contact information into Outlook. I created an Outlook Custom Contact
Form that has the 8 Phone Selected/Selector fields on it. The VB Code
that assigns the contact phone numbers is as follows:

oitmCurr = ofldContacts.Items.Add
oitmCurr.UserProperties.Item("Phone 1 Selected").Value = "(123)
456-7890"
oitmCurr.UserProperties.Item("Phone 1 Selector").Value = "Business
Fax"

etc., etc.

After I have added the contacts to Outlook, and I click on the folder
that I put them in, I see the 'quick view' of the contacts (one full
screen of ~15 contacts) with information such as name, address, and a
few phone numbers. The phone numbers here are listed correctly with
the appropriate corresponding selectors. When I open the contact (in
the custom form) however, the form labels for the selectors are always
the same (Home, Business, Business Fax, Mobile, Radio, Car, Other,
ISDN), and the first 3 Selected (phone number) textboxes are always
blank, so for contacts with more than 5 numbers, 3 are missing.

Does anyone have any suggestions as to what I am missing here? Any
help would be greatly appreciated.

Thanks,

Jacquie
  Reply With Quote
Old 29-04-2004, 08:22 PM   #2
John Riddle
Guest
 
Posts: n/a
Default Re: Custom Contact Phone Selectors

Try something like:

oitmCurr.BusinessFaxNumber = "(123) 456-7890"
oitmCurr.Save

John

"Jacquie" <jacquiehollingsworth@hotmail.com> wrote in message
news:f2e1af81.0404280750.c6700b1@posting.google.com...
> I have written a VB.NET application that imports SQL Server 2000
> contact information into Outlook. I created an Outlook Custom Contact
> Form that has the 8 Phone Selected/Selector fields on it. The VB Code
> that assigns the contact phone numbers is as follows:
>
> oitmCurr = ofldContacts.Items.Add
> oitmCurr.UserProperties.Item("Phone 1 Selected").Value = "(123)
> 456-7890"
> oitmCurr.UserProperties.Item("Phone 1 Selector").Value = "Business
> Fax"
>
> etc., etc.
>
> After I have added the contacts to Outlook, and I click on the folder
> that I put them in, I see the 'quick view' of the contacts (one full
> screen of ~15 contacts) with information such as name, address, and a
> few phone numbers. The phone numbers here are listed correctly with
> the appropriate corresponding selectors. When I open the contact (in
> the custom form) however, the form labels for the selectors are always
> the same (Home, Business, Business Fax, Mobile, Radio, Car, Other,
> ISDN), and the first 3 Selected (phone number) textboxes are always
> blank, so for contacts with more than 5 numbers, 3 are missing.
>
> Does anyone have any suggestions as to what I am missing here? Any
> help would be greatly appreciated.
>
> Thanks,
>
> Jacquie



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off