The following statements are valid.
Dim filespec As String
filespec = InputBox ("Enter name of file to process:")
Dim sr As IO.StreamReader = IO.File.OpenText (filespec)
Correct Answer:
Verified
Q16: In order to use the OpenFileDialog control,
Q17: When a file is opened for Append,
A)
Q18: Assume the file Alphabet.txt contains 26 records,
Q19: When you place the OpenFileDialog control on
Q20: Each line of the file UN.txt contains
Q22: In the following statement, sw is
Q23: If a text file is opened for
Q24: To get rid of an existing closed
Q25: When a text file is created in
Q26: Consider the following code. The Catch block
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents