A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

"Outlok like" control - users(contacts) resolving



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 8th 09, 07:28 AM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default "Outlok like" control - users(contacts) resolving

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  
Old October 8th 09, 02:45 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default "Outlok like" control - users(contacts) resolving

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  
Old October 8th 09, 02:58 PM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default "Outlok like" control - users(contacts) resolving

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  
Old October 8th 09, 07:50 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default "Outlok like" control - users(contacts) resolving

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  
Old October 11th 09, 04:21 PM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default "Outlok like" control - users(contacts) resolving

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  
Old October 12th 09, 02:24 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default "Outlok like" control - users(contacts) resolving

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  
Old October 13th 09, 10:50 AM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default "Outlok like" control - users(contacts) resolving

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  
Old October 13th 09, 02:42 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default "Outlok like" control - users(contacts) resolving

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  
Old October 19th 09, 12:55 PM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default "Outlok like" control - users(contacts) resolving

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  
Old October 19th 09, 02:42 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default "Outlok like" control - users(contacts) resolving

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
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 09:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.