Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Urdu writing in text box in vb.net

I am using following code to enable my text box to write in Urdu but it is typing in English as usual. Please advise what do I need to make my textobx, take urdu as input

Thanks

Dim x As New System.Globalization.CultureInfo("ur-PK")
    InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(x)
like image 455
Furqan Sehgal Avatar asked Jan 26 '26 13:01

Furqan Sehgal


1 Answers

After I added Urdu as a language option in Windows your code snippet started to work.

like image 50
Philip Fourie Avatar answered Jan 28 '26 12:01

Philip Fourie



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!