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
How to create a cookie using vbscript?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
What are the advantages of vbscript?
How to open a file. What is the perpose of true and false mode there?
What is vbscript procedures?
Explain the operator precedence in vb script?
How can you fetch the value of a cookie?
How should i Create Email invite with server-side Coding?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
How to write functions and sub in vb script?
How to get the length of the string by making use of the string function?
How are values assigned to string type and numeric type variables?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
what is the features of visual basic?
did any one attended interview in applabs if you had gone through plz tell me the procedure