how to write function to validate the number of characters
entering into the text box?

Answers were Sorted based on User's Feedback



how to write function to validate the number of characters entering into the text box?..

Answer / kumar

use len() function to find the number of chars

Is This Answer Correct ?    1 Yes 0 No

how to write function to validate the number of characters entering into the text box?..

Answer / bfakruddin

dialog("text:=Login").winedit("attached text:=Agent Name:").set "Baba"

text=dialog("text:=Login").winedit("attached text:=Agent Name:").getroproperty("text")

Function length(text,le)
le=len(text)
End Function

Call length(text,le)
msgbox le

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More VB Script Interview Questions

Mention how you can call vbscript functions?

0 Answers  


Write a VB Script to count blank Lines in a notepad

2 Answers   IBM,


write a vb script to display calculator using case statement?

1 Answers  


What is the purpose of on error resume next statement?

0 Answers  


how to add action through AOM in QTP

0 Answers  






1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

0 Answers  


Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

0 Answers  


How you can call vbscript functions?

0 Answers  


How will you convert a given number to long in vbscript?

0 Answers  


How to Enter Values on the Command promt using VB script

0 Answers  


what is the use of Data base check point ?

3 Answers  


Can automation testing find ssame no. of bugs what we can find by manual testing?

0 Answers  


Categories