"Outlok like" control - users(contacts) resolving

Status
Not open for further replies.
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.
 
K

Ken Slovak - [MVP - Outlook]

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.

"j" <evgeny.br@gmail.com> wrote in message

news:22c4bbab-52c9-4420-8f06-c5dd57d10823@a6g2000vbp.googlegroups.com...
> 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.
 
J

j

On Oct 8, 3:45 pm, " - " <kenslo...@mvps.org
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.

> >

> http://www.slovaktech.com

> "j" <evgeny...@gmail.com> wrote in message

> news:22c4bbab-52c9-4420-8f06-c5dd57d10823@a6g2000vbp.googlegroups.com...
>
> > 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
 
K

Ken Slovak - [MVP - Outlook]

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.

"j" <evgeny.br@gmail.com> wrote in message

news:5658ac18-1f19-473f-bf1f-d8c257734ba4@b18g2000vbl.googlegroups.com...

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

j

On Oct 8, 8:50 pm, " - " <kenslo...@mvps.org
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.

> >

> http://www.slovaktech.com

> "j" <evgeny...@gmail.com> wrote in message

> news:5658ac18-1f19-473f-bf1f-d8c257734ba4@b18g2000vbl.googlegroups.com...
> <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?
 
K

Ken Slovak - [MVP - Outlook]

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.

"j" <evgeny.br@gmail.com> wrote in message

news:a3a70e95-b3db-4b7e-a5e2-ef7a246e394f@c3g2000yqd.googlegroups.com...

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

j

On Oct 12, 3:24 pm, "
<kenslo...@mvps.org> 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 eventsin
> it.

> >

> http://www.slovaktech.com

> "j" <evgeny...@gmail.com> wrote in message

> news:a3a70e95-b3db-4b7e-a5e2-ef7a246e394f@c3g2000yqd.googlegroups.com...
> <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.
 
K

Ken Slovak - [MVP - Outlook]

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.

"j" <evgeny.br@gmail.com> wrote in message

news:a3bdbd8d-0fc7-4bfd-a5c1-6e92a0ee8356@g19g2000yqo.googlegroups.com...

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

j

On Oct 13, 3:42 pm, "
<kenslo...@mvps.org> 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.

> >

> http://www.slovaktech.com

> "j" <evgeny...@gmail.com> wrote in message

> news:a3bdbd8d-0fc7-4bfd-a5c1-6e92a0ee8356@g19g2000yqo.googlegroups.com...
> <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.
 
K

Ken Slovak - [MVP - Outlook]

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.

"j" <evgeny.br@gmail.com> wrote in message

news:c0422c92-2cf3-4a20-8a64-3d84725f1d56@p25g2000yqh.googlegroups.com...

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

j

On Oct 19, 3:42 pm, "
<kenslo...@mvps.org> wrote:
> 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.

> >

> http://www.slovaktech.com

> "j" <evgeny...@gmail.com> wrote in message

> news:c0422c92-2cf3-4a20-8a64-3d84725f1d56@p25g2000yqh.googlegroups.com...
> <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.
 
K

Ken Slovak - [MVP - Outlook]

No, I'm not familiar with controls like that (but I've never looked for

them).

"j" <evgeny.br@gmail.com> wrote in message

news:bb4c1221-2b13-4eb4-b89a-d26d0340fd5f@k26g2000vbp.googlegroups.com...

<snip
Thanks Ken,

Maybe you fmiliar with some 3rd party control that represent the TO,

CC, BCC field in Outlook?

Thannk you in advance.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
T outlok.com using MS Outlook Using Outlook 6
S Outlok 2007 add-in PJ Correspondence Log-How do I get it loaded? Using Outlook 7
glnz O365 - How to control whether my From name shows as "Dicky". Using Outlook 2
J Outlook Office 365 Win 10 how do I control background colors of events? Using Outlook 1
D font control by keyboard Using Outlook 2
U HTML Task Alternate Home Page View Control Using Outlook 3
e_a_g_l_e_p_i Just had to reinstall window 10 then Office and forgot how to control fonts sizes Using Outlook 3
J Control Panel Mail (settings) icon missing Using Outlook 2
B outlook view control Outlook VBA and Custom Forms 0
Diane Poremsky Error Opening Outlook and Control Panel's Mail Applet Using Outlook 0
Diane Poremsky Outlook 2013: Control Panel Mail Won't Open Using Outlook 0
Ascar_CT MS Outlook 2010 with Hotmail connector went spam control nuts Using Outlook.com accounts in Outlook 1
N Control ID for Outlook 2013 “Recover Deleted Items From Server” Using Outlook 0
Richer Fortin Control parameters in Social connectors Using Outlook 1
A Out of control Using Outlook 1
P Outlook 2010 custom form olk control font size increases everytime form is published Outlook VBA and Custom Forms 1
V iCloud Control Panel v3.x Released Using Outlook 2
L Contact Form - Recipient Control Field Using Outlook 2
M Custom Contact form queries (date control & contact/calender linking) Using Outlook 1
D iCLoud Control Panel 2.1 Using Outlook 3
D iCloud Control Panel -- 1 vs 2 Using Outlook 1
B Font for Tab Page in Mutipage Control Using Outlook 1
D Mail in Control Panel Won't Launch Exchange Server Administration 5
W inserting activeX/user control into form Outlook VBA and Custom Forms 1
D Outlook 2010 sets own User-Agent in webbrowser control traffic Outlook VBA and Custom Forms 1
J Using Group Policy to control Outlook security/attachments behaviour Outlook VBA and Custom Forms 1
T Ribbon Control questions Outlook VBA and Custom Forms 7
A Contact form looks quite different after adding a new control? Outlook VBA and Custom Forms 1
A Help creating custom Contacts form - what type is 'Email' control? Outlook VBA and Custom Forms 1
H Drag and Drop Outlook mails into a Windows Form Control with eml extension Outlook VBA and Custom Forms 1
H Accessing a control on a frame in Outlook with VBScript Outlook VBA and Custom Forms 1
E Currency Edit Control on custom Taskpanes Outlook VBA and Custom Forms 1
E Currency Edit Control on custom Taskpanes Outlook VBA and Custom Forms 1
S Custom Task Form - Reminder Control Outlook VBA and Custom Forms 1
J Outlook View Control SaveAs Outlook VBA and Custom Forms 1
E recipient control or suggest name Outlook VBA and Custom Forms 1
N Disable control CTRL button when dragging items/folders - Outlook Outlook VBA and Custom Forms 2
S A problem using outlook RichEdit control Outlook VBA and Custom Forms 2
J Microsoft SQL control within custom form Outlook VBA and Custom Forms 1
N Load audio file into Media Player control Outlook VBA and Custom Forms 2
A Any way to make Outlook Calendar invitations look right to Gmail/Google Calendar users? Using Outlook 3
V Form data not sending for some users Outlook VBA and Custom Forms 2
G Other users can't see P.2 with custom fields in Form Outlook VBA and Custom Forms 0
G Updating VbaProject.OTM on several users Outlook VBA and Custom Forms 3
M How can we find the list of users who are members of a deleted distribution list? Exchange Server Administration 2
D Can Exchange Admin Center create a pst for users email/contacts/calendar? Exchange Server Administration 0
V extract users of a particular department Outlook VBA and Custom Forms 1
Z Tasks from some users show up as emails Using Outlook 4
E Apply customized Business Card for all users Outlook VBA and Custom Forms 0
Diane Poremsky Add to Safe (and Blocked) Senders for Users Using Outlook 0

Similar threads

Top