473,387 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Entering Text

Can Anyone send me code just for entering Alphabets in either case(Capital or Small) including space as well as dot.
Thx in anticipation
Sep 1 '07 #1
3 1048
debasisdas
8,127 Expert 4TB
u need to capture the key strokes and handle the key ascii and restrict the othres. before asking for code you need to post what / how u have tried to solve this.
Sep 1 '07 #2
sgrec7
59
Can Anyone send me code just for entering Alphabets in either case(Capital or Small) including space as well as dot.
Thx in anticipation
if i knew what you have already tried it would make it a lot easier to give you help.. you haven't made anyones job easy by just asking for code.

try writing what you have done to try to solve the problem (and if you haven't tried to solve the problem then try and stop just trying to get everyone else to do your work!! )

no hard feelings

sgrec7
Sep 2 '07 #3
QVeen72
1,445 Expert 1GB
Hi,

Write this in KeyPress Event of textbox :

Expand|Select|Wrap|Line Numbers
  1. If Chr(KeyAscii) = " " Or Chr(KeyAscii) ="." Or (Ucase(Chr(KeyAscii))>="A" And UCase(Chr(KeyAscii)) <= "Z") Then
  2. Else
  3.     KeyAscii =0
  4. End If
  5.  
REgards
Veena
Sep 2 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Angela | last post by:
Hi, I have a text area and I want prevent people from entering HTML text in the text area. Someone putting "</textarea></tr><img src="http://www.xxx.com/images/pic.gif">" in the textarea will...
7
by: JimO | last post by:
I teach HS computers and one of my kids has a web site with a textbox of info that the user can scroll down and read. The problem is that users can also enter text into it. Is there a way, or a...
2
by: Rose | last post by:
I have a transactions table with a field named Transaction. I want Transaction to be positive for input and negative for outflow. How do I set up the form for entering outflow so for data entry,...
2
by: BerkshireGuy | last post by:
Is there a way to display what the expected format is before entering a control. For instance, if I have the input mask of 99/99/0000;0;#, it shows me ##/##/##, but only when I type the first...
0
by: Frans Bouma | last post by:
Hello, It seems VS.NET 2003 locks up itself and the complete shell (mouse locks also) when entering a breakpoint in a special situation. Below is the code to reproduce this behavior. It...
2
by: jayderk | last post by:
I am writing an application that has I/O entering data in a text field. My question is. does the event "textchanged" fire as soon as the data starts changing.. for example... if 12345 is being...
2
by: sp | last post by:
Hello Everybody, How can I restrict the user entering non-numeric data in textbox control on server side using asp.net. Any Code sample or suggestions are appreciated. Thanks in advance sp
12
by: MeNotHome | last post by:
I need to be able to open up a URL and enter some data, press a button and then wait for the page to load and then click a check box and press another button. Is there a good example on the...
2
by: Rich | last post by:
Hello, I need to trap/detect when a textbox is entered via the tabkey. If the textbox is not empty when entered via the tabkey then set focus to next textbox. To enter that textbox would then...
1
by: scottvirgo | last post by:
Hi all, First time user so sorry for any mistakes I make. Currently designing a software for teaching Differentiation and ideally would like a tool which can allow the user to plot line equations...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.