53 references to OpenModeTypes
Microsoft.VisualBasic.Core (53)
Microsoft\VisualBasic\FileSystem.vb (53)
275If CheckFileOpen(oAssemblyData, Destination, OpenModeTypes.Output) Then
279If CheckFileOpen(oAssemblyData, Source, OpenModeTypes.Input) Then
409If CheckFileOpen(oAssemblyData, FileName, OpenModeTypes.Any) Then
722GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).PutObject(Value, RecordNumber)
738GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
751GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber, ArrayIsDynamic, StringIsFixedLength)
761GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
771GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
781GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
791GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
801GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
811GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
821GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
831GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
841GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
851GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber, StringIsFixedLength)
861GetStream(assem, FileNumber, OpenModeTypes.Binary Or OpenModeTypes.Random).Put(Value, RecordNumber)
1202OldPath = VB6CheckPathname(oAssemblyData, OldPath, CType(OpenModeTypes.Any, OpenMode))
1203NewPath = VB6CheckPathname(oAssemblyData, NewPath, CType(OpenModeTypes.Any, OpenMode))
1240Return GetStream(assem, FileNumber, CType(OpenModeTypes.Input Or
1241OpenModeTypes.Output Or
1242OpenModeTypes.Random Or
1243OpenModeTypes.Append Or
1244OpenModeTypes.Binary, OpenModeTypes))
1247Private Function GetStream(ByVal assem As System.Reflection.Assembly, ByVal FileNumber As Integer, ByVal mode As OpenModeTypes) As VB6File
1263Private Function OpenModeTypesFromOpenMode(ByVal om As OpenMode) As OpenModeTypes
1265Return OpenModeTypes.Input
1267Return OpenModeTypes.Output
1269Return OpenModeTypes.Append
1271Return OpenModeTypes.Binary
1273Return OpenModeTypes.Random
1274ElseIf CInt(om) = CInt(OpenModeTypes.Any) Then
1275Return OpenModeTypes.Any
1333Friend Function CheckFileOpen(ByVal oAssemblyData As AssemblyData, ByVal sPath As String, ByVal NewFileMode As OpenModeTypes) As Boolean
1360If (NewFileMode Or mode Or OpenModeTypes.Binary Or OpenModeTypes.Random) <> (OpenModeTypes.Binary Or OpenModeTypes.Random) Then