Select the statement below that would open a text file for output.

(A) ``` Dim sw As IO.StreamWriter = IO.File.OpenText("IncomeData.txt")
```
(B ```
Dim sw As IO.StreamWriter = IO.File.CreateText(IncomeData.txt")
```
(C) ``` Dim sr As IO.StreamReader = IO.File.OpenText("ncomeData.txt"
```
(D)``` Dim sr As IO.StreamReader = IO.File.AppendText("IncomeData.txt")
```


(B ```
Dim sw As IO.StreamWriter = IO.File.CreateText(IncomeData.txt")
```

Computer Science & Information Technology

You might also like to view...

Standard modules are saved on disk as files that end with this extension.

a. .mod b. .proj c. .frm d. .vb

Computer Science & Information Technology

Horizontal and vertical ________ bars that enable you to navigate in a window, menu, or gallery

Fill in the blank(s) with correct word

Computer Science & Information Technology

Define what is meant by scaling.

What will be an ideal response?

Computer Science & Information Technology

You can activate cell highlighting when a user points at a cell by using the ____________ pseudo-class.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology