8 writes to m_file
Microsoft.VisualBasic.Core (8)
Microsoft\VisualBasic\CompilerServices\VB6File.vb (3)
405
m_file
= New FileStream(m_sFullPath, FileMode.Open, CType(m_access, FileAccess), CType(m_share, FileShare))
407
m_file
= New FileStream(m_sFullPath, FileMode.Create, CType(m_access, FileAccess), CType(m_share, FileShare))
437
m_file
= Nothing
Microsoft\VisualBasic\CompilerServices\VB6InputFile.vb (1)
35
m_file
= New FileStream(m_sFullPath, FileMode.Open, CType(m_access, FileAccess), CType(m_share, FileShare))
Microsoft\VisualBasic\CompilerServices\VB6OutputFile.vb (3)
43
m_file
= New FileStream(m_sFullPath, FileMode.Open, CType(m_access, FileAccess), CType(m_share, FileShare))
45
m_file
= New FileStream(m_sFullPath, FileMode.Create, CType(m_access, FileAccess), CType(m_share, FileShare))
48
m_file
= New FileStream(m_sFullPath, FileMode.Create, CType(m_access, FileAccess), CType(m_share, FileShare))
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (1)
35
m_file
= New FileStream(m_sFullPath, fm, CType(fa, FileAccess), CType(m_share, FileShare))
33 references to m_file
Microsoft.VisualBasic.Core (33)
Microsoft\VisualBasic\CompilerServices\VB6BinaryFile.vb (3)
51
m_file
.Lock(lStartByte, lLength)
76
m_file
.Unlock(lStartByte, lLength)
96
m_file
.Position = BaseZeroPosition
Microsoft\VisualBasic\CompilerServices\VB6File.vb (18)
435
If Not
m_file
Is Nothing Then
436
m_file
.Close()
482
Return
m_file
.Length
564
If BaseZeroPosition >
m_file
.Length Then
565
m_file
.SetLength(BaseZeroPosition)
568
m_file
.Position = BaseZeroPosition
571
m_eof = (m_position >=
m_file
.Length)
594
m_file
.Position = offset
611
m_file
.Lock(0, Int32.MaxValue)
618
m_file
.Unlock(0, Int32.MaxValue)
626
m_file
.Lock((Record - 1), 1)
628
m_file
.Lock((Record - 1) * m_lRecordLen, m_lRecordLen)
637
m_file
.Unlock((Record - 1), 1)
639
m_file
.Unlock((Record - 1) * m_lRecordLen, m_lRecordLen)
648
m_file
.Lock((RecordStart - 1), (RecordEnd - RecordStart) + 1)
650
m_file
.Lock((RecordStart - 1) * m_lRecordLen, ((RecordEnd - RecordStart) + 1) * m_lRecordLen)
659
m_file
.Unlock((RecordStart - 1), (RecordEnd - RecordStart) + 1)
661
m_file
.Unlock((RecordStart - 1) * m_lRecordLen, ((RecordEnd - RecordStart) + 1) * m_lRecordLen)
Microsoft\VisualBasic\CompilerServices\VB6InputFile.vb (2)
53
m_sr = New StreamReader(
m_file
, m_Encoding, False, 128)
54
m_eof = (
m_file
.Length = 0) 'Don't do a Peek here or it will buffer data, causing side-effects with the Lock function.
Microsoft\VisualBasic\CompilerServices\VB6OutputFile.vb (3)
61
m_sw = New StreamWriter(
m_file
, m_Encoding)
67
lEndOfFile =
m_file
.Length
68
m_file
.Position = lEndOfFile
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (7)
100
stm =
m_file
139
m_file
.Lock(lStartByte, lLength)
155
m_file
.Unlock(lStartByte, lLength)
163
GetStreamReader = New StreamReader(
m_file
, m_Encoding)
167
m_eof = (m_position >=
m_file
.Length)
315
If
m_file
.Position >=
m_file
.Length Then