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 / General MS Word Questions / September 2004

Tip: Looking for answers? Try searching our database.

Word Object Model - English vs Spanish

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ignacio Hernandez - 16 Sep 2004 16:20 GMT
Hi All,

I'm modifying a script for creating a configuration report in Word.  I tried
first in a computer running the english version of Word for Office XP and it
ran very well. Then I tried in a computer running the spanish version of
Word 2003 and it was a mess.  My questions are:
1.  Has the object model changed from Word XP to Word 2003?
2. Are there any special names when calling objects in different language
version of Word?

Thanks,

Ignacio
Cindy M  -WordMVP- - 17 Sep 2004 21:34 GMT
Hi Ignacio,

> I'm modifying a script for creating a configuration report in Word.  I tried
> first in a computer running the english version of Word for Office XP and it
> ran very well. Then I tried in a computer running the spanish version of
> Word 2003 and it was a mess.  My questions are:
> 1.  Has the object model changed from Word XP to Word 2003?

Not significantly; really, only the new things that were added to it...

> 2. Are there any special names when calling objects in different language
> version of Word?

Only if you're doing something with literal strings (such as building StyleRef
fields with built-in styles).

Can you be more specific about the kinds of difficulties you're experiencing?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
Ignacio Hernandez - 18 Sep 2004 00:23 GMT
Hi Cindy,
Advised by a posting in another newsgroup, I found that I needed to use
enumerators (like wdStyleBodyText) instead of calling "Body Text" which
change from language to language.  What I'm trying to do now is to set a
font like Trebuchet MS, that is properly installed, but is not being
recognized programatically by my Spanish version of Word.  Any hint will be
appreciated.

Regards,

Ignacio
"Cindy M -WordMVP-" <C.Meister-C@hispeed.ch> escribi? en el mensaje
news:VA.00009eef.024f71ba@speedy...
> Hi Ignacio,
>
[quoted text clipped - 21 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
Cindy M  -WordMVP- - 20 Sep 2004 20:34 GMT
Hi Ignacio,

> Advised by a posting in another newsgroup, I found that I needed to use
> enumerators (like wdStyleBodyText) instead of calling "Body Text" which
> change from language to language.  What I'm trying to do now is to set a
> font like Trebuchet MS, that is properly installed, but is not being
> recognized programatically by my Spanish version of Word.  Any hint will be
> appreciated.

What about trying to record a macro, then comparing the recorded code with
the your code?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
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.