15,911,315 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Niamatullah Habibi (Top 7 by date)
Niamatullah Habibi
5-Jun-13 2:48am
View
Thanks Mr. Chill, Actually i was not doing to reply him as i replied to his comment but there was a mistake.
Niamatullah Habibi
5-Jun-13 2:45am
View
Dear Khandekar:
As this project will make new experience to me, therefore i didn't use OnSelectedValueChanged handler event yet. if OnSelectedValueChanged event is the solution, then you can write the code for. Thanks beforehand
Niamatullah Habibi
28-May-13 2:33am
View
Dear Khandekar:
As this project will make new experience, therefore i didn't use OnSelectedValueChanged handler event. if there is solution in using mentioned event, you can write the code for.
Thanks
Niamatullah Habibi
23-Nov-12 2:47am
View
Deleted
as i am new in vb.net, Please if you can to write the events to validate the user for writing only Arabic character in the textbox, it would be your kind. thanks in advance
Niamatullah Habibi
23-Nov-12 2:43am
View
Dear all as i am new in vb.net, i need your help, please any body can to write the events to validate the user for writing in the textbox only Arabic characters, it would be your kind. thanks in advance.
Niamatullah Habibi
21-Nov-12 6:20am
View
Deleted
Dear I think there is no need of indicating unicode range the same like i have indicated the range of English letter, if we want to validate unicode letter to the users first we need to convert asci to unicode than the machine will know what the character we will are writing, my problem is with that conversion from ascii to unicode.
Thanks
Niamatullah Habibi
19-Nov-12 23:59pm
View
As i mentioned that i am using vb.net 2010 and i have a window application, it is going to be used in Arabic language and as well as in English language for English language i have done the validation rule like below is my code. what is my problem is that i want to do the same validation rule for Arabic language that the user may not be able to write numeric value in textbox where only text is allowed and viceversa text should not be written in the textbox where only numeric value is allowed to be thanks.
Private Sub txtTrnCnt_Name_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtTrnCnt_Name.KeyPress
If (Microsoft.VisualBasic.Asc(e.KeyChar) < 65) _
Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 90) _
And (Microsoft.VisualBasic.Asc(e.KeyChar) < 97) _
Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 122) Then
'Allowed space
If (Microsoft.VisualBasic.Asc(e.KeyChar) <> 32) Then
e.Handled = True
End If
End If
' Allowed backspace
If (Microsoft.VisualBasic.Asc(e.KeyChar) = 8) Then
e.Handled = False
End If
End Sub
Show More