Re: Urdu coding in Visual Basic 6.0

<[email protected]>
Newsgroups gmane.org.students.paistan
Message-ID <[email protected]>
Asalam-o-Alaikum,
                I study Win32 programming in my special semester.The 
Win32 programming is implemented by Visual Studio C++ 6.0. Here we 
study about the languages, locals and key board layouts. In Win32 
there are API which are use to select the language for input and out 
the data. Below the study material regarding the loading and changing 
the keyboard layout.

     "A language is a natural language, such as English, French, and 
Japanese. A sublanguage is a variant of a natural language that is 
spoken in a specific geographical region, such as the English 
sublanguages spoken in England and the United States. Applications use 
values, called language identifiers, to uniquely identify languages 
and sublanguages.
Applications typically use locales to set the language in which input 
and output is processed. Setting the locale for the keyboard, for 
example, affects the character values generated by the keyboard. 
Setting the locale for the display or printer affects the glyphs 
displayed or printed. Applications set the locale for a keyboard by 
loading and using keyboard layouts. They set the locale for a display 
or printer by selecting a font that supports the specified locale.
A keyboard layout not only specifies the physical position of the keys 
on the keyboard but also determines the character values generated by 
pressing those keys. Each layout identifies the current input language 
and determines which character values are generated by which keys and 
key combinations. 
Every keyboard layout has a corresponding handle that identifies the 
layout and language. The low word of the handle is a language 
identifier. The high word is a device handle specifying the physical 
layout, or is zero indicating a default physical layout. The user can 
associate any input language with a physical layout. For example, an 
English-speaking user who very occasionally works in French can set 
the input language of the keyboard to French without changing the 
physical layout of the keyboard. This means the user can enter text in 
French using the familiar English layout.
Applications are generally not expected to manipulate input languages 
directly. Instead, the user sets up language and layout combinations, 
and then switches among them. When the user clicks into text marked 
with a different language, the application calls the 
ActivateKeyboardLayout function to activate the user's default layout 
for that language. If the user edits text in a language which is not 
in the active list, the application can call the LoadKeyboardLayout 
function with the language to get a layout based on that language.
The ActivateKeyboardLayout function sets the input language for the 
current task. The hkl parameter can be either the handle to the 
keyboard layout or a zero-extended language identifier. Keyboard 
layout handles can be obtained from the LoadKeyboardLayout or 
GetKeyboardLayoutList function. The HKL_NEXT and HKL_PREV values can 
also be used to select the next or previous keyboard.
The GetKeyboardLayoutName function retrieves the name of the active 
keyboard layout for the calling thread. If an application creates the 
active layout using the LoadKeyboardLayout function, 
GetKeyboardLayoutName retrieves the same string used to create the 
layout. Otherwise, the string is the primary language identifier 
corresponding to the locale of the active layout. This means the 
function may not necessarily differentiate among different layouts 
with the same primary language so, it cannot return specific 
information about the input language. The GetKeyboardLayout function, 
however, can be used to determine the input language.
The LoadKeyboardLayout function loads a keyboard layout and makes the 
layout available to the user. Applications can make the layout 
immediately active for the current thread by using the KLF_ACTIVATE 
value. An application can use the KLF_REORDER value to reorder the 
layouts without also specifying the KLF_ACTIVATE value. Applications 
should always use the KLF_SUBSTITUTE_OK value when loading keyboard 
layouts to ensure that the user's preference, if any, is selected.
For multilingual support, the LoadKeyboardLayout function provides the 
KLF_REPLACELANG and KLF_NOTELLSHELL flags. The KLF_REPLACELANG flag 
directs the function to replace an existing keyboard layout without 
changing the language. Attempting to replace an existing layout using 
the same language identifier but without specifying KLF_REPLACELANG is 
an error. The KLF_NOTELLSHELL flag prevents the function from 
notifying the shell when a keyboard layout is added or replaced. This 
is useful for applications that add multiple layouts in a consecutive 
series of calls. This flag should be used in all but the last call.
The UnloadKeyboardLayout function is restricted in that it cannot 
unload the system default input language. This ensures that the user 
always has one layout available for enter text using the same 
character set as used by the shell and file system."


> Hi all Software Developer
> 
> I am hoping that you are fine. I am a software developer from AIM's 
> IT Consultant, Islamabad, Pakistan. Our National language is Urdu. 
> So mostly people want software that runs in Urdu atmosphere. Peoples 
> want to enter data in Urdu and also find in Urdu typing and all 
> operation is using Urdu.
> Can any software developer tell me about data entry in Urdu using VB-
> 6 and save in Microsoft Access or SQL using Urdu 98.
> I am want only save three fields.
> 1.	Name
> 2.	Father Name
> 3.	Address
> 
> Can any develop design this software and send me the coding of this 
> software with all .dll and related files.
> 
> I am very thankful to all of you. Because I am in very trouble and 
> if you are found any link about Urdu coding website or code please 
> send me address of this. 
> Thank you
> 
> Software Developer
> AIM's IT Consultant, Islamabad, Pakistan.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor --------------------~-
-> 
> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your 
home page
> http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/1MXolB/TM
> --------------------------------------------------------------------
~-> 
> 
> 
> 
> ---------------------------
> VU-GROUP Moderators emails
> ---------------------------
> [email protected]
> 
> [email protected]
> 
> [email protected]
> ---------------------------
> 
> If you don't want to receive emails from VU-GROUP,send an email to 
the following email address:-
> 
> [email protected]
> Or
> mail at:
>         [email protected]
> 
> 
> 
> 
> 
>  
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 

--
 Virtual University of Pakistan.
http://www.vu.edu.pk





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Give at-risk students the materials they need to succeed at DonorsChoose.org!
http://us.click.yahoo.com/iEagnA/LpQLAA/HwKMAA/1MXolB/TM
--------------------------------------------------------------------~-> 



---------------------------
VU-GROUP Moderators emails
---------------------------
[email protected]

[email protected]

[email protected]
---------------------------

If you don't want to receive emails from VU-GROUP,send an email to the following email address:-

[email protected]
Or
mail at:
        [email protected]





 
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/VU-GROUP/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.