Visual Basic Language Reference  

OpenMode Enumeration

When you call file access-related functions, you can use enumeration members in your code in place of the actual values.

The OpenMode enumeration defines constants used to set file access modes. The following table lists the OpenMode enumeration members.

Member Description
OpenMode.Append Append mode
OpenMode.Binary Binary mode
OpenMode.Input Input mode
OpenMode.Output Output mode
OpenMode.Random Random mode

See Also

Intrinsic Constants and Enumerations | OpenShare Enumeration | OpenMode (Object Browser) | OpenAccess Enumeration