Write a VB Script to count blank Lines in a notepad
Answer Posted / 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 |
Post New Answer View All Answers
Which data type/types are supported by vbscript language and what are their specialties?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
Mention how to create a cookie using vbscript?
What are the uses of vb script?
How will you get the octal value of the given number in vbscript?
how to automatically update the sql server2005 database records when insert in vb6?
1. How do declare public variable in vb scripts?
Anyone have qtp11.0 crack?
Can automation testing find ssame no. of bugs what we can find by manual testing?
Why to use option explicit in vb script?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
Description.Create
What are the differences between sub procedures and function procedures?
How to capture a runtime error in vbscript?
how to acces the remote mechine using vb cript(QTP)