For the past few questions, I have not been successful at getting a solution, however, I really need an answer to this. I have this code in VB.NET:
Dim fs As FileStream
Dim r As BinaryReader
Dim addDocBytes() As Byte
Dim bytesWritten As Integer
fs = New System.IO.FileStream(filePath, System.IO.FileMode.Open)
r = New System.IO.BinaryReader(fs)
addDocBytes = r.ReadBytes(fs.Length)
I need to get its equivalence in VB 6.0. The reason is that LotusScript within Lotus Notes is VB 6.0 like, and is not up to speed with dot net.
Your help will be greatly appreciated.