Which VB 6.0 file operations are automatically handled by the Upgrade Wizard?
File input and output is supported through the Microsoft.VisualBasic library. Visual Basic 6.0 provides several I/O commands to manage the access to files and directories. These commands include: Open, Close, Reset, Get, Put, Print, Write, Input, LineInput, Lock, Unlock, and Width. In this case, the code resulting form the upgrade wizard compiles and executes with the same behavior as the original code, thanks to the support provided by the compatibility library. As previously stated, whenever the resources allow it, it is possible to rewrite the output using only core Microsoft .NET Framework functionality. The preferred method for working with files in Visual Basic .NET is to use streams. A stream is a more generic view of a sequence of bytes that allows reading, writing, and seeking. Streams can be associated with a file, a network connection, and memory, to name just a few examples. Visual Basic .NET even provides for reading and writing cryptographic streams. The Visual Basic .NET