Hi! I am experiencing a strange problem:
I have an application that inserts some information in front of the main
body of each document. It works great. However, documents from one particular
user
convert to Hebrew after my inserts. The text my application inserts changes
from
right to left. In the original document the language is set to English US.
In the resulting document the language is Hebrew.
I have no clue where to start my troubleshooting efforts. Is it on my side?
Does the user have to change something on his? What can I do programmatically
to eliminate this problem?
Any ideas/suggestions/samples are greatly appreciated.
Many thanks in advance,
--Michael
Jean-Guy Marcil - 02 Feb 2007 15:39 GMT
Mike was telling us:
Mike nous racontait que :
> Hi! I am experiencing a strange problem:
>
[quoted text clipped - 11 lines]
>
> Any ideas/suggestions/samples are greatly appreciated.
This application.... your code or third-party code?
If it is your code, can we have a look?

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
Renee - 02 Feb 2007 22:12 GMT
Do this person's documents have right-to-left paragraph direction in the
Normal style? That'd be the first thing I would check. You might need to
enable Hebrew in Office Language settings to see: Start->Programs->Microsoft
Office->Microsoft Office Tools->Microsoft Office Language Settings. In the
Enabled Languages tab, add Hebrew.
Many users manually change the paragraph direction in docs instead of
setting their style for the document.
You can always select your paragraph and apply left-to-right paragraph
direction & left alignment on it in your code if you want to make sure it's
not doing this.
> Hi! I am experiencing a strange problem:
>
[quoted text clipped - 15 lines]
>
> --Michael
Mike - 06 Feb 2007 21:30 GMT
Hi! Sorry I have not responded sooner - went on a business trip.
I resolved the problem by
wordApp.CheckLanguage = false;
mySel.NoProofing = 0;
mySel.LanguageID = Word.WdLanguageID.wdEnglishAUS;
myDoc.Application.CheckLanguage = false;
the aforementioned steps force Word not to check for the language the
document is written in.
Many thanks for your help,
--Michael
> Hi! I am experiencing a strange problem:
>
[quoted text clipped - 15 lines]
>
> --Michael