47 references to OpenAccess
Microsoft.VisualBasic (1)
Microsoft.VisualBasic.cs (1)
66
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.VisualBasic.
OpenAccess
))]
Microsoft.VisualBasic.Core (46)
Microsoft\VisualBasic\CompilerServices\VB6BinaryFile.vb (3)
24
Public Sub New(ByVal FileName As String, ByVal access As
OpenAccess
, ByVal share As OpenShare)
195
If (m_access <>
OpenAccess
.ReadWrite) AndAlso (m_access <>
OpenAccess
.Read) Then
Microsoft\VisualBasic\CompilerServices\VB6File.vb (7)
337
Friend m_access As
OpenAccess
372
Protected Sub New(ByVal sPath As String, ByVal access As
OpenAccess
, ByVal share As OpenShare, ByVal lRecordLen As Integer)
375
If access <>
OpenAccess
.Read AndAlso
376
access <>
OpenAccess
.ReadWrite AndAlso
377
access <>
OpenAccess
.Write Then
2712
If (m_access <>
OpenAccess
.ReadWrite) AndAlso (m_access <>
OpenAccess
.Read) Then
Microsoft\VisualBasic\CompilerServices\VB6InputFile.vb (1)
27
MyBase.New(FileName,
OpenAccess
.Read, share, -1)
Microsoft\VisualBasic\CompilerServices\VB6OutputFile.vb (1)
29
MyBase.New(FileName,
OpenAccess
.Write, share, -1)
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (15)
26
Public Sub New(ByVal FileName As String, ByVal access As
OpenAccess
, ByVal share As OpenShare, ByVal lRecordLen As Integer)
33
Private Sub OpenFileHelper(ByVal fm As FileMode, ByVal fa As
OpenAccess
)
64
ElseIf m_access =
OpenAccess
.Read Then
70
If m_access =
OpenAccess
.Default Then
72
m_access =
OpenAccess
.ReadWrite
82
m_access =
OpenAccess
.Write
91
m_access =
OpenAccess
.Read
102
If (m_access =
OpenAccess
.Write) OrElse (m_access =
OpenAccess
.ReadWrite) Then
108
If (m_access =
OpenAccess
.Read) OrElse (m_access =
OpenAccess
.ReadWrite) Then
609
If (m_access <>
OpenAccess
.ReadWrite) AndAlso (m_access <>
OpenAccess
.Write) Then
615
If (m_access <>
OpenAccess
.ReadWrite) AndAlso (m_access <>
OpenAccess
.Read) Then
Microsoft\VisualBasic\FileSystem.vb (19)
486
Private Sub ValidateAccess(ByVal Access As
OpenAccess
)
487
If Access <>
OpenAccess
.Default AndAlso
488
Access <>
OpenAccess
.Read AndAlso
489
Access <>
OpenAccess
.ReadWrite AndAlso
490
Access <>
OpenAccess
.Write Then
525
Optional ByVal Access As
OpenAccess
=
OpenAccess
.Default,
1376
ByVal Access As
OpenAccess
,
1442
If (Access <>
OpenAccess
.Read) AndAlso (Access <>
OpenAccess
.Default) Then
1447
If (Access <>
OpenAccess
.Write) AndAlso (Access <>
OpenAccess
.Default) Then
1452
If (Access =
OpenAccess
.Default) Then
1453
Access =
OpenAccess
.ReadWrite
1457
If (Access <>
OpenAccess
.Write) AndAlso (Access <>
OpenAccess
.ReadWrite) AndAlso (Access <>
OpenAccess
.Default) Then
1462
If (Access =
OpenAccess
.Default) Then
1463
Access =
OpenAccess
.ReadWrite