Kn1ght_M4r3
Member
Hey can anyone help me out. i need to understand how the FileOpen function works. I tried it out but for meeh it doesn't work.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmopen.asp
i just want to know how this works but for some reason i just keep on getting errors.
Am i supposed to put this into a sub program?
Public Sub FileOpen( _
ByVal FileNumber As Integer, _
ByVal FileName As String, _
ByVal Mode As OpenMode, _
Optional ByVal Access As OpenAccess = OpenAccess.Default, _
Optional ByVal Share As OpenShare = OpenShare.Default, _
Optional ByVal RecordLength As Integer = -1 _
)
Thanx f0r the help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmopen.asp
i just want to know how this works but for some reason i just keep on getting errors.
Am i supposed to put this into a sub program?
Public Sub FileOpen( _
ByVal FileNumber As Integer, _
ByVal FileName As String, _
ByVal Mode As OpenMode, _
Optional ByVal Access As OpenAccess = OpenAccess.Default, _
Optional ByVal Share As OpenShare = OpenShare.Default, _
Optional ByVal RecordLength As Integer = -1 _
)
Thanx f0r the help