![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi ALL,
I'm using VSTO 2005, C# 2.0 WinForms, Redemption for Otulook. I have winForm - mail message ( looks like Outlook' inspector ), which concists TO field, CC filed, Subject field and Body field. I need to develop control ( the TO field ) that will behave like an Outlook's TO field. For resolving user i use the Redemption.dll. Any ideas how can i implemetn in a good way such issue? or maybe such control exists. Thanks in advance. |
Ads |
#2
|
|||
|
|||
![]()
If you want an address book dialog displayed you can use
RDOSession.AddressBook.ShowAddressBook(). You don't mention the Outlook version you're developing for, which you should always do, but if you are developing for Outlook 2007 you can use NameSpace.GetSelectNamesDialog() to display the address book dialog. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "j" wrote in message ... Hi ALL, I'm using VSTO 2005, C# 2.0 WinForms, Redemption for Otulook. I have winForm - mail message ( looks like Outlook' inspector ), which concists TO field, CC filed, Subject field and Body field. I need to develop control ( the TO field ) that will behave like an Outlook's TO field. For resolving user i use the Redemption.dll. Any ideas how can i implemetn in a good way such issue? or maybe such control exists. Thanks in advance. |
#3
|
|||
|
|||
![]()
On Oct 8, 3:45*pm, "Ken Slovak - [MVP - Outlook]"
wrote: If you want an address book dialog displayed you can use RDOSession.AddressBook.ShowAddressBook(). You don't mention the Outlook version you're developing for, which you should always do, but if you are developing for Outlook 2007 you can use NameSpace.GetSelectNamesDialog() to display the address book dialog. -- Ken Slovak [MVP - Outlook]http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm "j" wrote in message ... Hi ALL, I'm using VSTO 2005, C# 2.0 WinForms, Redemption for Otulook. I have winForm - mail message ( looks like Outlook' inspector ), which concists TO field, CC filed, Subject field and Body field. I need to develop control ( the TO field ) that will behave like an Outlook's TO field. For resolving user i use the Redemption.dll. Any ideas how can i implemetn in a good way such issue? or maybe such control exists. Thanks in advance. Thanks, sorry, i use outlook 2003. Also i use RDOSession.AddressBook.ShowAddressBook(), however after user selected users (contacts) from addressBook i should place them in the textbox control with useres namaes separated with comma and underline. What is your suggestions?? Thanks in advance |
#4
|
|||
|
|||
![]()
What textbox control? Your textbox for To?
You get back a collection of RDORecipients from that dialog. You can get whatever properties you want from each RDORecipient object, such as Name, Address, AddressEntry.SMTPAddress and so on. You can then format things any way you want, including with underlines. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "j" wrote in message ... snip Thanks, sorry, i use outlook 2003. Also i use RDOSession.AddressBook.ShowAddressBook(), however after user selected users (contacts) from addressBook i should place them in the textbox control with useres namaes separated with comma and underline. What is your suggestions?? Thanks in advance |
#5
|
|||
|
|||
![]()
On Oct 8, 8:50*pm, "Ken Slovak - [MVP - Outlook]"
wrote: What textbox control? Your textbox for To? You get back a collection of RDORecipients from that dialog. You can get whatever properties you want from each RDORecipient object, such as Name, Address, AddressEntry.SMTPAddress and so on. You can then format things any way you want, including with underlines. -- Ken Slovak [MVP - Outlook]http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm "j" wrote in message ... snip Thanks, sorry, i use outlook 2003. Also i use RDOSession.AddressBook.ShowAddressBook(), however after user selected users (contacts) from addressBook i should place them in the textbox *control with useres namaes separated with comma and underline. What is your suggestions?? Thanks in advance Thanks, i want to implement control (like in Outlook, when i open new Insepctor), with autoComplete, and underlining. if such control exists, free or commercial. Any ideas? |
#6
|
|||
|
|||
![]()
I've never seen a control like that, but I haven't looked. That's something
you can Google for if you're interested. Or you can simulate that yourself, it's not hard to underline text in a textbox control and to handle events in it. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "j" wrote in message ... snip Thanks, i want to implement control (like in Outlook, when i open new Insepctor), with autoComplete, and underlining. if such control exists, free or commercial. Any ideas? |
#7
|
|||
|
|||
![]()
On Oct 12, 3:24*pm, "Ken Slovak - [MVP - Outlook]"
wrote: I've never seen a control like that, but I haven't looked. That's something you can Google for if you're interested. Or you can simulate that yourself, it's not hard to underline text in a textbox control and to handle events in it. -- Ken Slovak [MVP - Outlook]http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm "j" wrote in message ... snip Thanks, i want to implement control (like in Outlook, when i open new Insepctor), with autoComplete, and underlining. if such control exists, free or commercial. Any ideas? Thanks Ken, Thanks for advices, after some research i found that i can use/add formatting in WinForm's textbox it's only plain text. so ...... The good thing that WinForm's texBox control has built-in autocomplete (it's like in Outlook's inspector To,CC,BCC fields). However without formatting. Any ideas? Thanks in advance. |
#8
|
|||
|
|||
![]()
Ideas on what? Text formatting? You can set the font in a textbox, which
includes setting things like underlining. You can also use a rich text textbox. You'd have to play with the formatting yourself to get the effect you want. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "j" wrote in message ... snip Thanks Ken, Thanks for advices, after some research i found that i can use/add formatting in WinForm's textbox it's only plain text. so ...... The good thing that WinForm's texBox control has built-in autocomplete (it's like in Outlook's inspector To,CC,BCC fields). However without formatting. Any ideas? Thanks in advance. |
#9
|
|||
|
|||
![]()
On Oct 13, 3:42*pm, "Ken Slovak - [MVP - Outlook]"
wrote: Ideas on what? Text formatting? You can set the font in a textbox, which includes setting things like underlining. You can also use a rich text textbox. You'd have to play with the formatting yourself to get the effect you want. -- Ken Slovak [MVP - Outlook]http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm "j" wrote in message ... snip Thanks Ken, Thanks for advices, after some research i found that i can use/add formatting in WinForm's textbox it's only plain text. so ...... The good thing that WinForm's texBox control has built-in autocomplete (it's like in Outlook's inspector To,CC,BCC fields). However without formatting. Any ideas? Thanks in advance. Thanks, i can add the underline formatting, but what about autocomplete? i want to achieve Outlook's look and feel. also in case i add underline fomratting on TextBox, i'll see continiously underline ( include spaces). what can u suggest? Thanks in Advance Ken. |
#10
|
|||
|
|||
![]()
If autocomplete or autosuggest is what you want in a textbox you have to
implement that yourself. As each Change event fires for the control you would take the text as it is then and do a search in contacts folders and aggregate those that match the text you have. You'd have to present them in some sort of dialog or popup and then repeat for each new character entered. If you want an underline format to apply on to parts of the text I don't think you can do that in a normal textbox. You might be able to in a rich text textbox, I'm not sure since I almost never use those. Or you'd have to hunt around for a control that meets your requirements from some 3rd party vendor. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "j" wrote in message ... snip Thanks, i can add the underline formatting, but what about autocomplete? i want to achieve Outlook's look and feel. also in case i add underline fomratting on TextBox, i'll see continiously underline ( include spaces). what can u suggest? Thanks in Advance Ken. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resolving informations in "To" Field | [email protected] | Outlook - Installation | 1 | June 23rd 09 05:33 PM |
When I import contacts can I control the "File as" field? | No Name | Outlook - General Queries | 2 | September 19th 07 09:32 PM |
When I import contacts can I control the "File as" field? | No Name | Outlook - Using Contacts | 2 | September 19th 07 09:32 PM |
Control with the same behavior as "Type a question for help" or "Find contact" | [email protected] | Add-ins for Outlook | 0 | March 2nd 07 01:54 PM |
Accessing other users Contacts lists from within "Select Names" when preparing a new message | Brown | Outlook - Using Contacts | 1 | September 22nd 06 02:32 PM |