write a vb script to open a text file and write into it
Answer Posted / mudaseer
dim vfso
set vfso=createobject("scripting.filesystemobject")
set vf=vfso.opentextfile("C:\hello.txt",2)
vf.write("howruthere")
'here 2 is for write and 8 is for append
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the scope of a constant declared using public?
who will create the object?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
How to delete a cookie using vbscript?
why do u choose to go for testing why cant for devoloping
Description.Create
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
How will you compare two strings in vbscript?
How will you get the octal value of the given number in vbscript?
When are redim statement and preserve keyword used in the vbscript language?
When to use function procedures and what are its characteristics?
What is the use of the instr function?
What is the output of a + b in vbscript if a = 5 and b = 10?
regular expression that will recognize a browser as long as its name property starts with mybrowser
What is loose binding? Why is it not a good practice to use it?