Write a VB Script to count blank Lines in a notepad
Answers were Sorted based on User's Feedback
Answer / usha
set fso=createobject("scripting.filesystemobject")
set f=fso.opentextfile("C:usha.txt")
c=0
do until (f.atendofstream)
a=f.readline()
if len(a)=0 then
c=c+1
end if
loop
msgbox c
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pravati
Set fso=createobject("scripting.filesystemobject")
Set qfile=fso.OpenTextFile("c:Rinkuaby.txt",1,true)
Do While qfile.AtEndOfStream<>true
x=qfile.ReadLine
msgbox x
If len(x)=0 Then
y=y+1
End If
msgbox y
loop
Is This Answer Correct ? | 0 Yes | 0 No |
Write a Script for ATM in QTP
what is the standards used for writing the script in QTP
generic function for webedit box for web application
How regexp.execute method works?
What is the difference between a dictionary and an array?
after medical test,when will be the police verification
write a script to count no drives in file systems in qtp?
how to find number of characters(letter a) in the sentence Rain Rain Go away
Explain the operator precedence in vb script?
write a program to display configuration of a local system with the help of vb script.
How to Import data from a file (file is on the desktop) to the data table
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans