Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2007

Tip: Looking for answers? Try searching our database.

Documents convert to Hebrew after some manipulations

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 01 Feb 2007 23:44 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.