Write a VB Script to count blank Lines in a notepad
Answer Posted / 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 |
Post New Answer View All Answers
Mention what is the use of option explicit in vbscript?
Which constant is used for print and display functions and works as same as pressing enter key?
How many types of operators are available in the vbscript language?
How strcomp function works?
What are the environments supported by vbscript language?
Explain a few date functions in vbscript
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
What are the 2 ways to pass a value to the function?
Explain about arrays in vb script?
what is diff between static and dynaic arrys?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
Which data type/types are supported by vbscript language and what are their specialties?
In html file what is an ideal position to include vbscript?
Both Static and dynamic arrays are handled by VB script. Is it true?