Unicode Controls & Classes for VB6 - Version 4

clsUniFile.OpenFileGeneric Function

Main function for opening files

Syntax
Public Function OpenFileGeneric (ByVal sPath As String, _
ByVal iAccess As eUniFileAccess, _
ByVal iCreationDisposition As eUniFileCreationDisposition, _
Optional ByVal iShareMode As eUniFileShareMode = eusm_NOT_SHARED, _
Optional ByVal iAttributes As eUniFileAttributes = euat_FILE_ATTRIBUTE_NORMAL) As Boolean
Parameters
Parameter Description
ByVal sPath As String Path of the file
ByVal iAccess As eUniFileAccess Access type (one or more enum values)
ByVal iCreationDisposition As eUniFileCreationDisposition Opening mode (one or more enum values)
Optional ByVal iShareMode As eUniFileShareMode = eusm_NOT_SHARED Sharing mode (one or more enum values)
Optional ByVal iAttributes As eUniFileAttributes = euat_FILE_ATTRIBUTE_NORMAL Attributes (one or more enum values)
Remarks