Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me

0 Answers  


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

0 Answers  


Mention what is the difference between vbscript and vba?

0 Answers  


What is the equivalent of VBScript?s On Error In Jscript ?

1 Answers   Microsoft,


what is the use of QCUtil? explain with one example?

1 Answers  


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

0 Answers  


what is fire event method in qtp?

3 Answers   TCS,


Why is it recommended to close the database connection every time after the work is completed?

0 Answers  


a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program

1 Answers  


find the length of the string without using length function?

4 Answers   CSS Corp,


what do you mean .ota mobile format

0 Answers  


Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

0 Answers  


Categories