Title: Change windows keyboard mode to Farsi when your App runns
You can use this API function to change the mode of windows keyboard.
Change to farsi:
loadkeyboardlayout('00000429', KLF_Activate);
Change to default(English):
loadkeyboardlayout('0000000', KLF_Activate);
If you want to change to other languages search this function in the www.msdn.com
Note: You should use arabic version of windows 9x or use windows XP. :-)