"Outlok like" control - users(contacts) resolving

  • Thread starter Thread starter j
  • Start date Start date
J

j

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.
 
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.
 
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.

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
 
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.




<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
 
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.




<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?
 
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.




<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?
 
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 eventsin
it.




<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.
 
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.




<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.
 
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.




<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.
 
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.




<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.
 
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.




<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.

Thanks Ken,

Maybe you fmiliar with some 3rd party control that represent the TO,
CC, BCC field in Outlook?

Thannk you in advance.
 
No, I'm not familiar with controls like that (but I've never looked for
them).




<snip>

Thanks Ken,

Maybe you fmiliar with some 3rd party control that represent the TO,
CC, BCC field in Outlook?

Thannk you in advance.
 
Back
Top