Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem running exe in English OS
Message
From
27/07/2003 04:10:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem running exe in English OS
Miscellaneous
Thread ID:
00813873
Message ID:
00813873
Views:
39
Hi,

I am trying to modify my vfp program to make it
bilingual for 'english and traditional chinese'.
I have chinese characters appearing all over the
place in my program.

Some messages have formats like this:
MessageBox(IIF(lang=1,"Eng Char String1","Chinese Char String1"),;
48,IIF(lang=1,"Eng Char String2","Chi Char String2"))

Some 'wait window' command have this format:
WAIT WINDOW IIF(lang=1," Eng characters ","Chi Char String");
NOWAIT NOCLEAR


I also have commands showing the bar in my menu as follows:

DO CASE
CASE lang=1
SET MARK OF BAR lang OF Language TO .T.
CASE lang=2
SET MARK OF BAR lang OF L»y¨¥ TO .T. &&'L»y¨¥' are chinese char.
ENDCASE

My program runs perfectly fine in chinese version
windows (98, me, and 2000). But when running it
in english versions of windows 98, me, or 2000,
i am getting a lot of syntax errors (error number
is always 10), what am i doing wrong and how can i
correct them?
Thank you.

jw
Next
Reply
Map
View

Click here to load this message in the networking platform