I have a very simple program:
The file exists OK.VB Code:
Private Sub Command1_Click() Open "c:\temp\my.txt" For Binary Access Read As #1 sDATA = Space$(LOF(1)) Get #1, , sDATA MsgBox sDATA End Sub
LOF(1) shows a length of 50.
But on the GET line, I receive an error of:
" Run time error 458
Variable uses an automation type not supported in Visual Basic "
Any ideas why?
