Fileformat of .oft

  • Thread starter Thread starter Peter Theill
  • Start date Start date
P

Peter Theill

Is the .oft fileformat described somewhere? I would like to create
copies of a given 'generic' form I've made and patch some labels
without using the Outlook Forms Designer.
 
No. Why don't you want to use the forms designer for its intended purpose?
 
No. Why don't you want to use the forms designer for its intended
purpose?
<<

I have the need to create localized forms for more than 20 languages so
I want to do this automatically. My script code doesn't contain any
code so this is similar for each form. The labels and the core
properties must be changed since these are localized. If a given
language label is changed I would like to generate a new form using a
script or similar .. and not have to do this manually using the
designer.

I would like to create an application which would simply load a generic
form and then patch the labels and core properties with the data I
enter for that given language.
 
Follow up:

I figured out, that by using the Outlook API I was able to load my
template using "CreateItemFromTemplate", iterating the tabs and its
controls, setting the labels as I wish and finally saving the template
to a new file name using "Save". This suits my needs.

Btw Sue - your book rock!
 
That's a good solution. Another way to handle the localization issue, if you don't have too complex a form, would be to include use code to set the labels at run time, based on Outlook custom property values. That way, you have only one form to update. You just set different property values to produce localized versions.
 
Back
Top