PC Review


Reply
Thread Tools Rate Thread

Binding localized core fields to controls using same Outlook DOM for all

 
 
Peter Theill
Guest
Posts: n/a
 
      20th May 2005
Behind this cryptic subject is the full question:

Is it possible to bind (via code) a core field to a control using the
ItemProperty property even though that core field doesn't exist in the
Outlook DOM?

Here's why I need this. I'm creating multiple localized Outlook forms
and need to bind a field for the "End" time in an Appointment object.
However since core fields are localized I need to change the bindings
for my localized forms (20+ so it's a lot of work).

I've made some code which (using my English Outlook DOM) creates a new
form and sets the labels. Now I need to set the bindings as well using
code such as:

...
MyOwnEndTime.ItemProperty = "End"
...

This works for English and other languages where this core field
exists. However it does not work for Danish:

...
MyOwnEndTime.ItemProperty = "Slut"
...

I makes good sense (unfortunately , that Outlook checks if it's able
to bind to the field specified, but is it possible to somehow avoid
this validation? I know that my form (when eventually running) will be
in the correct environment (i.e. in the above case, using a Danish
Outlook client).

 
Reply With Quote
 
 
 
 
Peter Theill
Guest
Posts: n/a
 
      20th May 2005
Follow up:

I've realized a better solution might be to create my form at runtime
on the client having a localized version of Outlook. I would still know
an answer on my question but I think a runtime creation of the form
when installing the form is a very nice solution and would allow me to
distribute the same form template to all clients and then modify labels
and core field bindings just before installing the form.

>>

Behind this cryptic subject is the full question:

Is it possible to bind (via code) a core field to a control using the
ItemProperty property even though that core field doesn't exist in the
Outlook DOM?

Here's why I need this. I'm creating multiple localized Outlook forms
and need to bind a field for the "End" time in an Appointment object.
However since core fields are localized I need to change the bindings
for my localized forms (20+ so it's a lot of work).

I've made some code which (using my English Outlook DOM) creates a new
form and sets the labels. Now I need to set the bindings as well using
code such as:

...
MyOwnEndTime.ItemProperty = "End"
...

This works for English and other languages where this core field
exists. However it does not work for Danish:

...
MyOwnEndTime.ItemProperty = "Slut"
...

I makes good sense (unfortunately , that Outlook checks if it's able
to bind to the field specified, but is it possible to somehow avoid
this validation? I know that my form (when eventually running) will be
in the correct environment (i.e. in the above case, using a Danish
Outlook client).
<<

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which Notebook to buy? Intel Centrino, Core DUO, Core Duo 2, AMD Turion, Single Core pattyjamas@hotmail.com Computer Hardware 4 31st Aug 2006 02:11 AM
How to deploy localized controls =?Utf-8?B?RGFuaWVsIENhenp1bGlubyBba3p1XQ==?= Microsoft Dot NET Compact Framework 1 30th Mar 2006 02:01 PM
simple binding of controls to object properties - refresh controls =?Utf-8?B?UnVhIEhhc3phcmQgTW9ycmlz?= Microsoft Dot NET Framework Forms 7 20th Oct 2004 12:45 AM
Controls Binding P. Marcello Genuini Microsoft C# .NET 1 11th Nov 2003 12:12 PM
Data Binding & Controls Jeremy Cowles Microsoft ADO .NET 3 3rd Sep 2003 08:51 PM


Features
 

Advertising
 

Newsgroups
 


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