Fileget is returning NOTHING
I open the file, fine and inhndl carries the handle or index or channel.....
Then
res = space(4)
fileget(inHndl,res)
res still contains 4 spaces
The overload is:
Class Form1
Public Overloads Sub FileGet( _
ByVal FileNumber as integer, _
byVal Value as string, _
Optional ByVal RecordNumber as Integer = -1, _
Optional ByVal StringIsFixedLength as Integer = False)
End Sub
Also, the open is :
FileOpen(inHndl,inFile, OpenMode.Binary)
infile is the passed filename and is correct... I get no errors stepping
through this and have this FileOpen inside a TRY/Catch block and it goes
fine. I haven't placed the fileGet inside one but that is something I should
try. Anyway, any ideas?
Archived from group: microsoft>public>vb>enterprise